Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_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.003573/0.003573, allocations: 179 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.69/0.69, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.531/1.531, 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.0009933/0.0009931, allocations: 89.84 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4776/0.4786, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.6748, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.543/5.217, allocations: 1.831 GB / 2.464 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/5.218, allocations: 83.95 kB / 2.464 GB, free: 142 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.794/7.012, allocations: 430.7 MB / 2.885 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/7.012, allocations: 10.41 kB / 2.885 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/7.014, allocations: 273.8 kB / 2.885 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/7.015, allocations: 482.9 kB / 2.885 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/7.015, allocations: 13.66 kB / 2.885 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/7.015, allocations: 31.5 kB / 2.885 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006634/7.016, allocations: 386.7 kB / 2.886 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/7.017, allocations: 490.1 kB / 2.886 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/7.017, allocations: 6.531 kB / 2.886 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/7.017, allocations: 3.906 kB / 2.886 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/7.017, allocations: 13.52 kB / 2.886 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/7.02, allocations: 2.129 MB / 2.888 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/7.02, allocations: 374.1 kB / 2.889 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/7.021, allocations: 193.2 kB / 2.889 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008681/7.022, allocations: 0.6397 MB / 2.889 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/7.022, allocations: 248.9 kB / 2.89 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 4.549e-06/7.022, allocations: 0 / 2.89 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.002216/7.024, allocations: 0.6198 MB / 2.89 GB, free: 141 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/7.024, allocations: 58 kB / 2.89 GB, free: 141 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/7.025, allocations: 302.3 kB / 2.891 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/7.025, allocations: 29.61 kB / 2.891 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/7.025, allocations: 223 kB / 2.891 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/7.025, allocations: 117.4 kB / 2.891 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/7.025, allocations: 3.844 kB / 2.891 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001456/7.025, allocations: 357.8 kB / 2.891 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/7.025, allocations: 148.2 kB / 2.891 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/7.026, allocations: 270.2 kB / 2.892 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/7.026, allocations: 241.3 kB / 2.892 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/7.026, allocations: 0 / 2.892 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008927/7.027, allocations: 0.511 MB / 2.892 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/7.027, allocations: 7.406 kB / 2.892 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/7.027, allocations: 3.844 kB / 2.892 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/7.027, allocations: 3.75 kB / 2.892 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/7.028, allocations: 111.4 kB / 2.893 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/7.028, allocations: 11.22 kB / 2.893 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/7.029, allocations: 80.91 kB / 2.893 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/7.029, allocations: 29.34 kB / 2.893 GB, free: 140.1 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.0001401/7.029, allocations: 116.2 kB / 2.893 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/7.029, allocations: 44.84 kB / 2.893 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/7.03, allocations: 482.4 kB / 2.893 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/7.03, allocations: 10.66 kB / 2.893 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/7.03, allocations: 7.875 kB / 2.893 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/7.03, allocations: 0 / 2.893 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/7.032, allocations: 1.223 MB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.032, allocations: 3.781 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/7.032, allocations: 89.7 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/7.032, allocations: 10.22 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/7.032, allocations: 10.28 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/7.032, allocations: 7.344 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/7.032, allocations: 7 kB / 2.895 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/7.034, allocations: 0.9973 MB / 2.896 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001781/7.035, allocations: 1.658 MB / 2.897 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/7.036, allocations: 157.6 kB / 2.897 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/7.036, allocations: 3.906 kB / 2.897 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/7.036, allocations: 56.17 kB / 2.897 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/7.036, allocations: 54.09 kB / 2.897 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/7.036, allocations: 15.25 kB / 2.898 GB, free: 138 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002493/7.037, allocations: 232.6 kB / 2.898 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001902/7.038, allocations: 425.6 kB / 2.898 GB, free: 137.9 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.00236/7.041, allocations: 1.669 MB / 2.9 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007462/7.042, allocations: 431.4 kB / 2.9 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/7.042, allocations: 1.422 kB / 2.9 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/7.042, allocations: 244 kB / 2.9 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/7.043, allocations: 163.7 kB / 2.901 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/7.045, allocations: 0.7957 MB / 2.901 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/7.046, allocations: 0.9307 MB / 2.902 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/7.046, allocations: 0 / 2.902 GB, free: 136.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)