Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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 7.0.1/package.mo): time 2.475/2.475, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 187.9 kB / 315.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.1 MB / 0.5658 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.004204/0.004204, allocations: 79.34 kB / 0.67 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5228/0.5271, allocations: 112.4 MB / 0.7797 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.7196, allocations: 106.3 MB / 0.8835 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.972/6.692, allocations: 2.18 GB / 3.063 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/6.692, allocations: 83.7 kB / 3.063 GB, free: 189.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 1.171/7.863, allocations: 215.6 MB / 3.274 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/7.863, allocations: 7.531 kB / 3.274 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/7.864, allocations: 84.83 kB / 3.274 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/7.865, allocations: 297.5 kB / 3.274 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/7.865, allocations: 3.875 kB / 3.274 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/7.865, allocations: 14.22 kB / 3.274 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004741/7.866, allocations: 154.9 kB / 3.274 GB, free: 252 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/7.866, allocations: 244.6 kB / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/7.866, allocations: 7.531 kB / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/7.866, allocations: 0 / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/7.866, allocations: 10.05 kB / 3.275 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/7.869, allocations: 1.423 MB / 3.276 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/7.869, allocations: 138.6 kB / 3.276 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/7.869, allocations: 72.64 kB / 3.276 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/7.87, allocations: 117.4 kB / 3.276 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/7.87, allocations: 36.75 kB / 3.276 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.876e-06/7.87, allocations: 3.125 kB / 3.276 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0007029/7.87, allocations: 143.3 kB / 3.277 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/7.87, allocations: 158.2 kB / 3.277 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/7.871, allocations: 207.2 kB / 3.277 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/7.871, allocations: 29.27 kB / 3.277 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/7.871, allocations: 152.2 kB / 3.277 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/7.871, allocations: 37.44 kB / 3.277 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/7.871, allocations: 0 / 3.277 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/7.871, allocations: 322.7 kB / 3.277 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/7.871, allocations: 54.97 kB / 3.278 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/7.871, allocations: 134.3 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/7.872, allocations: 96.39 kB / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/7.872, allocations: 0 / 3.278 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000827/7.873, allocations: 217.1 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/7.873, allocations: 11.19 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/7.873, allocations: 0 / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/7.873, allocations: 3.812 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/7.873, allocations: 45.73 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/7.873, allocations: 3.656 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/7.874, allocations: 29.83 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/7.874, allocations: 13.72 kB / 3.278 GB, free: 249.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001004/7.874, allocations: 115.5 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/7.874, allocations: 18.88 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/7.875, allocations: 123 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/7.875, allocations: 3.25 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/7.875, allocations: 3.188 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/7.875, allocations: 7.5 kB / 3.278 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/7.876, allocations: 0.7939 MB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/7.876, allocations: 3.875 kB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/7.876, allocations: 25.62 kB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/7.876, allocations: 5.156 kB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/7.876, allocations: 10.25 kB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/7.876, allocations: 3.438 kB / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/7.876, allocations: 0 / 3.279 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007361/7.877, allocations: 364.5 kB / 3.279 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009838/7.878, allocations: 0.8194 MB / 3.28 GB, free: 248 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/7.878, allocations: 110.4 kB / 3.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/7.878, allocations: 0 / 3.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/7.879, allocations: 18.06 kB / 3.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/7.879, allocations: 16.22 kB / 3.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/7.879, allocations: 2.594 kB / 3.28 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001962/7.879, allocations: 164.8 kB / 3.281 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002085/7.881, allocations: 285.8 kB / 3.281 GB, free: 247.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002212/7.883, allocations: 1.176 MB / 3.282 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004623/7.884, allocations: 110.7 kB / 3.282 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/7.884, allocations: 0 / 3.282 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/7.884, allocations: 44.55 kB / 3.282 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/7.885, allocations: 73.83 kB / 3.282 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/7.886, allocations: 339 kB / 3.283 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/7.886, allocations: 0.7898 MB / 3.283 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.083e-06/7.886, allocations: 0 / 3.283 GB, free: 246.7 MB / 0.8698 GB