Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",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.0.1-maint.8.0.x/package.mo): time 1.405/1.405, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.00103/0.00103, allocations: 177.2 kB / 361.1 MB, free: 7.102 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.151/1.151, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008097/0.0008097, allocations: 94.02 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2162/0.2171, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.7386, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.8788, allocations: 137.1 MB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.879, allocations: 67.97 kB / 1.098 GB, free: 2.816 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002317/0.8814, allocations: 0.8006 MB / 1.099 GB, free: 2.004 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8814, allocations: 13 kB / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.8815, allocations: 9.484 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.8817, allocations: 164 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8817, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.8817, allocations: 7.844 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001109/0.8818, allocations: 13.5 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.8819, allocations: 38.22 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.8819, allocations: 0.5938 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.882, allocations: 0.5625 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.882, allocations: 1.125 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.8824, allocations: 254.2 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.8825, allocations: 30.55 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.8825, allocations: 12.92 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/0.8829, allocations: 419.5 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.883, allocations: 31.19 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.883, allocations: 1.406 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.8832, allocations: 37.7 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8833, allocations: 52.19 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.8833, allocations: 97 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.8833, allocations: 26.3 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.8834, allocations: 88.72 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.8834, allocations: 7.938 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.8834, allocations: 0.6562 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8836, allocations: 319.3 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.8836, allocations: 4.5 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.8836, allocations: 4.531 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.8837, allocations: 8.438 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8837, allocations: 0.6562 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.8838, allocations: 45.78 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8838, allocations: 11.53 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8838, allocations: 1.625 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8839, allocations: 4 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.884, allocations: 11.98 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.884, allocations: 1.016 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.8841, allocations: 17.03 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.8841, allocations: 0 / 1.1 GB, free: 92 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001311/0.8842, allocations: 101 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.8843, allocations: 7.984 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.8844, allocations: 57.16 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8844, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8844, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8844, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.8846, allocations: 138.3 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8846, allocations: 3.75 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.8846, allocations: 13.73 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8847, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.8847, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8847, allocations: 7.906 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8847, allocations: 4.5 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001438/0.8848, allocations: 139.5 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002482/0.8851, allocations: 0.5115 MB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.8851, allocations: 81.77 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8852, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.8853, allocations: 12.06 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.8853, allocations: 3.984 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.8853, allocations: 4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.27e-05/0.8854, allocations: 85.41 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007545/0.8861, allocations: 4 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000178/0.8863, allocations: 103 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.8864, allocations: 19.98 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.8864, allocations: 2.594 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.8864, allocations: 7.938 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.8866, allocations: 11.91 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.8869, allocations: 60.36 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.8872, allocations: 0.6926 MB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8872, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)