Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IDEAS_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.003472/0.003472, allocations: 188.1 kB / 7.461 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7578/0.7578, 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.681/1.681, allocations: 221.3 MB / 395 MB, free: 10.23 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.0009858/0.0009856, allocations: 94.84 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5602/0.5612, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.7716, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.71/5.481, allocations: 1.831 GB / 2.465 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/5.482, allocations: 91.89 kB / 2.465 GB, free: 116.2 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.8835/6.365, allocations: 223.5 MB / 2.683 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/6.365, allocations: 9.203 kB / 2.683 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/6.366, allocations: 95.45 kB / 2.683 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/6.366, allocations: 310.8 kB / 2.683 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/6.366, allocations: 8 kB / 2.683 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/6.366, allocations: 12 kB / 2.684 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003074/6.367, allocations: 189 kB / 2.684 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/6.367, allocations: 262.3 kB / 2.684 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/6.367, allocations: 3.938 kB / 2.684 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/6.367, allocations: 7.984 kB / 2.684 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/6.367, allocations: 4 kB / 2.684 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/6.369, allocations: 1.014 MB / 2.685 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/6.369, allocations: 174.6 kB / 2.685 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/6.369, allocations: 92.83 kB / 2.685 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005701/6.37, allocations: 400 kB / 2.686 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/6.37, allocations: 35.77 kB / 2.686 GB, free: 164 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/6.37, allocations: 3.984 kB / 2.686 GB, free: 164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001182/6.371, allocations: 342.8 kB / 2.686 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/6.371, allocations: 59.66 kB / 2.686 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/6.371, allocations: 184.3 kB / 2.686 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/6.371, allocations: 25.7 kB / 2.686 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/6.371, allocations: 148.2 kB / 2.686 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/6.371, allocations: 70.94 kB / 2.686 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/6.371, allocations: 4 kB / 2.686 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/6.371, allocations: 330.8 kB / 2.687 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/6.371, allocations: 71.91 kB / 2.687 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/6.372, allocations: 128.7 kB / 2.687 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/6.372, allocations: 210.8 kB / 2.687 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/6.372, allocations: 0 / 2.687 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008501/6.373, allocations: 341 kB / 2.687 GB, free: 162 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/6.373, allocations: 12.16 kB / 2.687 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/6.373, allocations: 0 / 2.687 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/6.373, allocations: 4 kB / 2.687 GB, free: 162 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/6.373, allocations: 71.83 kB / 2.688 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/6.373, allocations: 7.906 kB / 2.688 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/6.374, allocations: 47.81 kB / 2.688 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/6.374, allocations: 15.98 kB / 2.688 GB, free: 161.9 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 8.493e-05/6.374, allocations: 104.9 kB / 2.688 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/6.374, allocations: 23.72 kB / 2.688 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009912/6.375, allocations: 351.9 kB / 2.688 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/6.375, allocations: 0 / 2.688 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/6.375, allocations: 3.969 kB / 2.688 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/6.375, allocations: 7.984 kB / 2.688 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/6.377, allocations: 0.8626 MB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/6.377, allocations: 4 kB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/6.377, allocations: 60.14 kB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/6.377, allocations: 4 kB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/6.377, allocations: 0 / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/6.377, allocations: 4 kB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/6.377, allocations: 3.938 kB / 2.689 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/6.378, allocations: 0.6449 MB / 2.69 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001411/6.379, allocations: 1.159 MB / 2.691 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/6.379, allocations: 116.8 kB / 2.691 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/6.38, allocations: 4 kB / 2.691 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/6.38, allocations: 39.94 kB / 2.691 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/6.38, allocations: 23.91 kB / 2.691 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/6.38, allocations: 8 kB / 2.691 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.718e-05/6.38, allocations: 144.5 kB / 2.691 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001447/6.382, allocations: 303.5 kB / 2.691 GB, free: 157.8 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.001889/6.383, allocations: 1.177 MB / 2.693 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004189/6.384, allocations: 176.2 kB / 2.693 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/6.384, allocations: 0 / 2.693 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/6.384, allocations: 100.5 kB / 2.693 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/6.385, allocations: 93.22 kB / 2.693 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/6.386, allocations: 454.2 kB / 2.693 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/6.386, allocations: 0.8179 MB / 2.694 GB, free: 155 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/6.386, allocations: 0 / 2.694 GB, free: 155 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_RelativeHumidity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)