Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_Pressure",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.949/2.949, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.00164/0.00164, allocations: 185.4 kB / 315.1 MB, free: 4.27 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.915/1.915, allocations: 205.1 MB / 0.5658 GB, free: 360 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001965/0.001965, allocations: 86.39 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4969, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.7182, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.973/6.691, allocations: 2.183 GB / 3.066 GB, free: 186 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/6.691, allocations: 86.02 kB / 3.066 GB, free: 186 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 1.675/8.366, allocations: 332.5 MB / 3.391 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/8.366, allocations: 8 kB / 3.391 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/8.367, allocations: 59.58 kB / 3.391 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/8.368, allocations: 329.6 kB / 3.391 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/8.368, allocations: 8 kB / 3.391 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/8.368, allocations: 12 kB / 3.391 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003869/8.368, allocations: 120.8 kB / 3.391 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/8.369, allocations: 257 kB / 3.392 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/8.369, allocations: 0 / 3.392 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/8.369, allocations: 0 / 3.392 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/8.369, allocations: 8 kB / 3.392 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/8.371, allocations: 1.66 MB / 3.393 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/8.371, allocations: 74.56 kB / 3.393 GB, free: 202 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/8.371, allocations: 60.84 kB / 3.393 GB, free: 201.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/8.372, allocations: 190.2 kB / 3.394 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/8.372, allocations: 38.47 kB / 3.394 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.745e-06/8.372, allocations: 0 / 3.394 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007307/8.372, allocations: 149.5 kB / 3.394 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/8.372, allocations: 51.41 kB / 3.394 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/8.373, allocations: 219.4 kB / 3.394 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/8.373, allocations: 29.7 kB / 3.394 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/8.373, allocations: 172.9 kB / 3.394 GB, free: 201 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/8.373, allocations: 43.39 kB / 3.394 GB, free: 201 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/8.373, allocations: 0 / 3.394 GB, free: 201 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/8.373, allocations: 330.8 kB / 3.394 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/8.373, allocations: 43.98 kB / 3.395 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/8.373, allocations: 169.9 kB / 3.395 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/8.374, allocations: 63.91 kB / 3.395 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/8.374, allocations: 4 kB / 3.395 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004569/8.374, allocations: 201.1 kB / 3.395 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/8.374, allocations: 1.402 MB / 3.396 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/8.374, allocations: 0 / 3.396 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/8.374, allocations: 12 kB / 3.396 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/8.375, allocations: 51.92 kB / 3.396 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/8.375, allocations: 7.984 kB / 3.396 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/8.375, allocations: 35.73 kB / 3.396 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/8.375, allocations: 12 kB / 3.396 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/8.375, allocations: 4 kB / 3.396 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003424/8.376, allocations: 139.8 kB / 3.397 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/8.376, allocations: 4.406 kB / 3.397 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/8.376, allocations: 12 kB / 3.397 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/8.376, allocations: 55.89 kB / 3.397 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/8.376, allocations: 8 kB / 3.397 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/8.377, allocations: 39.8 kB / 3.397 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/8.377, allocations: 12.08 kB / 3.397 GB, free: 198.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001103/8.377, allocations: 116.8 kB / 3.397 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/8.377, allocations: 19.72 kB / 3.397 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/8.377, allocations: 139.2 kB / 3.397 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/8.377, allocations: 0 / 3.397 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/8.377, allocations: 3.938 kB / 3.397 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/8.377, allocations: 0 / 3.397 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/8.378, allocations: 0.528 MB / 3.397 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/8.378, allocations: 4.219 kB / 3.397 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/8.379, allocations: 35.92 kB / 3.398 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/8.379, allocations: 7.984 kB / 3.398 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/8.379, allocations: 0 / 3.398 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/8.379, allocations: 7.984 kB / 3.398 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/8.379, allocations: 4 kB / 3.398 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003752/8.379, allocations: 349 kB / 3.398 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006665/8.38, allocations: 0.7787 MB / 3.399 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/8.38, allocations: 108.8 kB / 3.399 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/8.38, allocations: 4 kB / 3.399 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/8.381, allocations: 19.98 kB / 3.399 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/8.381, allocations: 15.89 kB / 3.399 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/8.381, allocations: 8 kB / 3.399 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003104/8.381, allocations: 171.1 kB / 3.399 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005738/8.387, allocations: 0.4958 MB / 3.399 GB, free: 195.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.003255/8.39, allocations: 1.437 MB / 3.401 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008696/8.391, allocations: 190.6 kB / 3.401 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/8.391, allocations: 0 / 3.401 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/8.392, allocations: 59.84 kB / 3.401 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/8.393, allocations: 93.39 kB / 3.401 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/8.395, allocations: 346.9 kB / 3.401 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/8.395, allocations: 0.807 MB / 3.402 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/8.395, allocations: 0 / 3.402 GB, free: 192.3 MB / 0.8698 GB