Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",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.003578/0.003578, allocations: 182.2 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6983/0.6983, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.502/1.502, allocations: 221.3 MB / 395 MB, free: 10.16 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.001132/0.001132, allocations: 102.3 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4831/0.4842, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.6806, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.381/5.062, allocations: 1.831 GB / 2.464 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/5.062, allocations: 87.95 kB / 2.464 GB, free: 116.5 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 1.571/6.633, allocations: 430.7 MB / 2.885 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/6.633, allocations: 14 kB / 2.885 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/6.635, allocations: 271.9 kB / 2.885 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/6.636, allocations: 484.4 kB / 2.885 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/6.636, allocations: 14.53 kB / 2.885 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/6.636, allocations: 27 kB / 2.885 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007251/6.637, allocations: 385.2 kB / 2.886 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/6.638, allocations: 491.5 kB / 2.886 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/6.638, allocations: 4.562 kB / 2.886 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/6.638, allocations: 7.625 kB / 2.886 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/6.638, allocations: 11.03 kB / 2.886 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/6.641, allocations: 2.144 MB / 2.888 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006465/6.642, allocations: 373.1 kB / 2.889 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/6.642, allocations: 193.7 kB / 2.889 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/6.643, allocations: 0.6327 MB / 2.889 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/6.643, allocations: 257.2 kB / 2.89 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 3.407e-06/6.643, allocations: 0 / 2.89 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002125/6.645, allocations: 0.6208 MB / 2.89 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/6.645, allocations: 61.12 kB / 2.89 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/6.646, allocations: 304.3 kB / 2.891 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/6.646, allocations: 29.33 kB / 2.891 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/6.646, allocations: 216.7 kB / 2.891 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/6.646, allocations: 119.6 kB / 2.891 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/6.646, allocations: 2.781 kB / 2.891 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/6.646, allocations: 356.8 kB / 2.891 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/6.646, allocations: 143.3 kB / 2.891 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/6.647, allocations: 277.2 kB / 2.892 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/6.647, allocations: 238.9 kB / 2.892 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/6.647, allocations: 0 / 2.892 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008858/6.648, allocations: 0.5172 MB / 2.892 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/6.648, allocations: 3.969 kB / 2.892 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/6.648, allocations: 3.156 kB / 2.892 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/6.648, allocations: 6.812 kB / 2.892 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/6.649, allocations: 106.2 kB / 2.893 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/6.649, allocations: 7.953 kB / 2.893 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/6.649, allocations: 80.69 kB / 2.893 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/6.649, allocations: 23.56 kB / 2.893 GB, free: 145.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001111/6.649, allocations: 121.3 kB / 2.893 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/6.65, allocations: 45.09 kB / 2.893 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/6.65, allocations: 495.8 kB / 2.893 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/6.65, allocations: 3.469 kB / 2.893 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/6.65, allocations: 0 / 2.893 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/6.65, allocations: 3.656 kB / 2.893 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/6.652, allocations: 1.223 MB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/6.652, allocations: 2.844 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004336/6.653, allocations: 87.47 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/6.653, allocations: 7.594 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/6.653, allocations: 7.25 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/6.653, allocations: 17.05 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/6.653, allocations: 3.844 kB / 2.895 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/6.654, allocations: 0.9878 MB / 2.896 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001723/6.656, allocations: 1.654 MB / 2.897 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/6.656, allocations: 163.5 kB / 2.897 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.443e-05/6.656, allocations: 6.656 kB / 2.897 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/6.656, allocations: 54.97 kB / 2.897 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/6.657, allocations: 46.86 kB / 2.897 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/6.657, allocations: 20.41 kB / 2.898 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000224/6.657, allocations: 232.7 kB / 2.898 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001751/6.659, allocations: 427.1 kB / 2.898 GB, free: 143.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002546/6.661, allocations: 1.673 MB / 2.9 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006636/6.662, allocations: 426.6 kB / 2.9 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/6.662, allocations: 0 / 2.9 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/6.662, allocations: 239.7 kB / 2.9 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/6.663, allocations: 175.4 kB / 2.901 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/6.665, allocations: 0.7941 MB / 2.901 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/6.666, allocations: 0.9281 MB / 2.902 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/6.666, allocations: 3.75 kB / 2.902 GB, free: 141.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)