Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.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.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",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.003884/0.003884, allocations: 183.2 kB / 7.461 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.7118/0.7118, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.561/1.561, allocations: 221.3 MB / 395 MB, free: 10.17 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.001042/0.001042, allocations: 86.97 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.457/0.4581, allocations: 88.43 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.633, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.288/4.921, allocations: 1.831 GB / 2.465 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/4.922, allocations: 79.95 kB / 2.465 GB, free: 132.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.804/5.726, allocations: 223.5 MB / 2.683 GB, free: 183 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/5.726, allocations: 8 kB / 2.683 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/5.726, allocations: 95.45 kB / 2.683 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/5.727, allocations: 308.1 kB / 2.683 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/5.727, allocations: 8 kB / 2.683 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/5.727, allocations: 12.66 kB / 2.684 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003179/5.727, allocations: 189 kB / 2.684 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/5.728, allocations: 258.3 kB / 2.684 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/5.728, allocations: 4 kB / 2.684 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/5.728, allocations: 0 / 2.684 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/5.728, allocations: 4 kB / 2.684 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/5.729, allocations: 1.022 MB / 2.685 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/5.729, allocations: 174 kB / 2.685 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/5.73, allocations: 92.83 kB / 2.685 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/5.73, allocations: 392.4 kB / 2.686 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/5.73, allocations: 40.58 kB / 2.686 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/5.73, allocations: 0 / 2.686 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001138/5.731, allocations: 338.8 kB / 2.686 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/5.731, allocations: 55.31 kB / 2.686 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/5.732, allocations: 196.2 kB / 2.686 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/5.732, allocations: 25.7 kB / 2.686 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/5.732, allocations: 148.2 kB / 2.686 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/5.732, allocations: 70.94 kB / 2.686 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/5.732, allocations: 3.938 kB / 2.686 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/5.732, allocations: 338.8 kB / 2.687 GB, free: 179 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/5.732, allocations: 59.98 kB / 2.687 GB, free: 179 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/5.732, allocations: 136 kB / 2.687 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/5.733, allocations: 206.7 kB / 2.687 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/5.733, allocations: 4 kB / 2.687 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008686/5.734, allocations: 337.1 kB / 2.687 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/5.734, allocations: 8 kB / 2.687 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/5.734, allocations: 0 / 2.687 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/5.734, allocations: 4 kB / 2.687 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/5.734, allocations: 72.05 kB / 2.688 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/5.734, allocations: 7.906 kB / 2.688 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/5.734, allocations: 47.81 kB / 2.688 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/5.734, allocations: 11.98 kB / 2.688 GB, free: 178.1 MB / 0.6823 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 (24): * Single equations (assignments): 24 * 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 7.781e-05/5.734, allocations: 112.9 kB / 2.688 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/5.734, allocations: 23.72 kB / 2.688 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/5.735, allocations: 351.3 kB / 2.688 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/5.735, allocations: 4 kB / 2.688 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/5.735, allocations: 3.906 kB / 2.688 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/5.735, allocations: 7.969 kB / 2.688 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/5.737, allocations: 0.8631 MB / 2.689 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/5.737, allocations: 4 kB / 2.689 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/5.737, allocations: 64.14 kB / 2.689 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/5.737, allocations: 0 / 2.689 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/5.737, allocations: 4 kB / 2.689 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/5.737, allocations: 11.94 kB / 2.689 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/5.737, allocations: 0 / 2.689 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001052/5.738, allocations: 0.6365 MB / 2.69 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001351/5.74, allocations: 1.163 MB / 2.691 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/5.74, allocations: 116.8 kB / 2.691 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/5.74, allocations: 4 kB / 2.691 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/5.74, allocations: 47.81 kB / 2.691 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/5.74, allocations: 23.97 kB / 2.691 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/5.74, allocations: 4 kB / 2.691 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.034e-05/5.74, allocations: 152.4 kB / 2.691 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001332/5.742, allocations: 291.8 kB / 2.691 GB, free: 174 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001314/5.743, allocations: 1.177 MB / 2.693 GB, free: 173 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003241/5.743, allocations: 176.2 kB / 2.693 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/5.743, allocations: 4 kB / 2.693 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/5.744, allocations: 101.9 kB / 2.693 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/5.744, allocations: 85.95 kB / 2.693 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/5.745, allocations: 450.1 kB / 2.693 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/5.745, allocations: 0.8179 MB / 2.694 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/5.745, allocations: 0 / 2.694 GB, free: 171.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)