Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 181.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 89.64 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3265/0.3276, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.746/1.074, allocations: 116.3 MB / 0.9727 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/1.275, allocations: 138.8 MB / 1.108 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.276, allocations: 81.44 kB / 1.108 GB, free: 9.727 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00767/1.283, allocations: 2.342 MB / 1.111 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/1.283, allocations: 8 kB / 1.111 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/1.284, allocations: 7.906 kB / 1.111 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/1.284, allocations: 163.1 kB / 1.111 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.284, allocations: 0 / 1.111 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/1.284, allocations: 4 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/1.284, allocations: 24.59 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/1.284, allocations: 45.69 kB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/1.284, allocations: 3.984 kB / 1.111 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.284, allocations: 0 / 1.111 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/1.284, allocations: 5.688 kB / 1.111 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/1.285, allocations: 150.1 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/1.285, allocations: 29.72 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/1.285, allocations: 24.84 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/1.285, allocations: 0.5583 MB / 1.112 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.285, allocations: 39.19 kB / 1.112 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/1.285, allocations: 0 / 1.112 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001958/1.287, allocations: 0.8399 MB / 1.112 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.287, allocations: 63.39 kB / 1.112 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/1.287, allocations: 85 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.287, allocations: 25.7 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/1.287, allocations: 80.14 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/1.287, allocations: 51.2 kB / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/1.288, allocations: 0 / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.288, allocations: 314.8 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/1.288, allocations: 28.12 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/1.288, allocations: 57.55 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/1.288, allocations: 33.52 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.288, allocations: 4 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002193/1.288, allocations: 117.5 kB / 1.113 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.288, allocations: 4 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.288, allocations: 0 / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.288, allocations: 4 kB / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.288, allocations: 23.98 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.288, allocations: 4.562 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/1.288, allocations: 0 / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.288, allocations: 8.75 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/1.289, allocations: 113 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/1.289, allocations: 3.906 kB / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/1.289, allocations: 130.4 kB / 1.113 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/1.289, allocations: 7.906 kB / 1.113 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.289, allocations: 0.5 kB / 1.113 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.289, allocations: 0 / 1.113 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/1.289, allocations: 387.6 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.289, allocations: 4.562 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/1.29, allocations: 23.94 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/1.29, allocations: 4 kB / 1.114 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.29, allocations: 3.984 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.29, allocations: 4.562 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.29, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004188/1.29, allocations: 308.7 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005615/1.291, allocations: 0.7132 MB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/1.291, allocations: 81.7 kB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/1.291, allocations: 4 kB / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.291, allocations: 0 / 1.115 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/1.291, allocations: 19.92 kB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.291, allocations: 4 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.138e-05/1.291, allocations: 75.28 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009029/1.292, allocations: 40.55 kB / 1.115 GB, free: 2.074 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002893/1.292, allocations: 147.4 kB / 1.115 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001943/1.292, allocations: 78.69 kB / 1.115 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.292, allocations: 0 / 1.115 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/1.292, allocations: 39.94 kB / 1.115 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/1.293, allocations: 5.125 kB / 1.115 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/1.293, allocations: 159.7 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/1.294, allocations: 0.7077 MB / 1.116 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/1.294, allocations: 0 / 1.116 GB, free: 0.8711 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)