Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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/Complex 4.0.0+maint.om/package.mo): time 0.004942/0.004942, allocations: 179.7 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7474/0.7474, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 94.45 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4613/0.4622, allocations: 88.43 MB / 0.5529 GB, free: 68.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.6453, allocations: 82.32 MB / 0.6333 GB, free: 2.352 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.513/5.158, allocations: 1.83 GB / 2.463 GB, free: 284 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/5.159, allocations: 85.94 kB / 2.463 GB, free: 284 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.047/6.206, allocations: 300.8 MB / 2.757 GB, free: 194.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/6.206, allocations: 10.31 kB / 2.757 GB, free: 194.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/6.206, allocations: 62.3 kB / 2.757 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/6.206, allocations: 331.7 kB / 2.757 GB, free: 194 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/6.206, allocations: 7.938 kB / 2.757 GB, free: 194 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/6.206, allocations: 15.12 kB / 2.757 GB, free: 194 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002751/6.207, allocations: 146 kB / 2.757 GB, free: 194 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/6.207, allocations: 262 kB / 2.757 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/6.207, allocations: 3.219 kB / 2.757 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/6.207, allocations: 3.906 kB / 2.757 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/6.207, allocations: 6.938 kB / 2.757 GB, free: 193.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/6.208, allocations: 1.468 MB / 2.759 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/6.209, allocations: 86.89 kB / 2.759 GB, free: 192.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/6.209, allocations: 68.95 kB / 2.759 GB, free: 192.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/6.209, allocations: 301.1 kB / 2.759 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/6.209, allocations: 33.22 kB / 2.759 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/6.209, allocations: 7.844 kB / 2.759 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0006158/6.21, allocations: 209.3 kB / 2.76 GB, free: 192.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/6.21, allocations: 65.5 kB / 2.76 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/6.21, allocations: 186.9 kB / 2.76 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/6.21, allocations: 25.7 kB / 2.76 GB, free: 192.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/6.21, allocations: 164.3 kB / 2.76 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/6.21, allocations: 40.31 kB / 2.76 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/6.21, allocations: 0 / 2.76 GB, free: 192.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/6.21, allocations: 332.4 kB / 2.76 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/6.21, allocations: 41.78 kB / 2.76 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/6.211, allocations: 104.4 kB / 2.761 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/6.211, allocations: 97.38 kB / 2.761 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/6.211, allocations: 0 / 2.761 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000317/6.211, allocations: 203.2 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/6.211, allocations: 8.688 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/6.211, allocations: 0 / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/6.211, allocations: 3.688 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/6.211, allocations: 33.84 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/6.211, allocations: 11.53 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/6.212, allocations: 28.48 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/6.212, allocations: 14.56 kB / 2.761 GB, free: 191.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.244e-05/6.212, allocations: 110.9 kB / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/6.212, allocations: 21.94 kB / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/6.212, allocations: 200 kB / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/6.212, allocations: 0 / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.212, allocations: 2.156 kB / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/6.212, allocations: 7.609 kB / 2.761 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/6.213, allocations: 0.6229 MB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.213, allocations: 3.938 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/6.213, allocations: 37.27 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/6.213, allocations: 3.938 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/6.213, allocations: 3.938 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/6.213, allocations: 3.938 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/6.213, allocations: 2.625 kB / 2.762 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004144/6.214, allocations: 409.5 kB / 2.762 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008294/6.214, allocations: 0.8273 MB / 2.763 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/6.215, allocations: 117 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/6.215, allocations: 3.938 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/6.215, allocations: 26.19 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/6.215, allocations: 10.08 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/6.215, allocations: 10.72 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001065/6.215, allocations: 147.9 kB / 2.763 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001386/6.216, allocations: 297.1 kB / 2.764 GB, free: 190 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.00196/6.218, allocations: 1.358 MB / 2.765 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002514/6.219, allocations: 115.2 kB / 2.765 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/6.219, allocations: 0 / 2.765 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/6.219, allocations: 69.28 kB / 2.765 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/6.219, allocations: 69.12 kB / 2.765 GB, free: 189.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/6.22, allocations: 363.6 kB / 2.766 GB, free: 189.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/6.22, allocations: 0.8163 MB / 2.766 GB, free: 188.9 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/6.22, allocations: 0 / 2.766 GB, free: 188.9 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)