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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.002218/0.002218, allocations: 181.1 kB / 7.459 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.602/0.602, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.12 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.0008641/0.0008641, allocations: 106 kB / 477.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.083e-06, allocations: 2.781 kB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 82.29 MB / 0.6332 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.743/2.855, allocations: 1.831 GB / 2.464 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/2.855, allocations: 83.94 kB / 2.464 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.16/4.016, allocations: 429.7 MB / 2.883 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.672e-05/4.016, allocations: 18.66 kB / 2.884 GB, free: 146.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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001762/4.017, allocations: 1.003 MB / 2.884 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/4.017, allocations: 10.41 kB / 2.884 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/4.019, allocations: 267.5 kB / 2.885 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/4.02, allocations: 485.8 kB / 2.885 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/4.02, allocations: 17.25 kB / 2.885 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/4.02, allocations: 25.88 kB / 2.885 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005658/4.021, allocations: 388.5 kB / 2.886 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/4.021, allocations: 494 kB / 2.886 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/4.022, allocations: 7.812 kB / 2.886 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/4.022, allocations: 3.906 kB / 2.886 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/4.022, allocations: 14.72 kB / 2.886 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/4.024, allocations: 2.125 MB / 2.888 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/4.024, allocations: 378.6 kB / 2.889 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/4.024, allocations: 193.5 kB / 2.889 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/4.025, allocations: 0.6285 MB / 2.889 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/4.025, allocations: 259.8 kB / 2.89 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/4.025, allocations: 0 / 2.89 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.001831/4.027, allocations: 0.6192 MB / 2.89 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/4.027, allocations: 55.31 kB / 2.89 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/4.027, allocations: 302.8 kB / 2.891 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/4.027, allocations: 32.98 kB / 2.891 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/4.027, allocations: 221.2 kB / 2.891 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/4.028, allocations: 124.6 kB / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/4.028, allocations: 0 / 2.891 GB, free: 143 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/4.028, allocations: 355.8 kB / 2.891 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/4.028, allocations: 148.5 kB / 2.891 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/4.028, allocations: 266.9 kB / 2.892 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/4.029, allocations: 245.7 kB / 2.892 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/4.029, allocations: 0 / 2.892 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007669/4.029, allocations: 0.5087 MB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/4.029, allocations: 7.422 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/4.029, allocations: 3.938 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/4.029, allocations: 7.031 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/4.03, allocations: 110.8 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/4.03, allocations: 3.844 kB / 2.893 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/4.03, allocations: 88.16 kB / 2.893 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/4.03, allocations: 19.97 kB / 2.893 GB, free: 142.5 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 9.459e-05/4.031, allocations: 125.4 kB / 2.893 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/4.031, allocations: 48.53 kB / 2.893 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/4.031, allocations: 488.5 kB / 2.893 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/4.031, allocations: 3.844 kB / 2.893 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/4.031, allocations: 0 / 2.893 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/4.031, allocations: 0 / 2.893 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/4.033, allocations: 1.224 MB / 2.894 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/4.033, allocations: 8.75 kB / 2.894 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/4.033, allocations: 88.42 kB / 2.895 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/4.033, allocations: 6.625 kB / 2.895 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/4.033, allocations: 14.45 kB / 2.895 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/4.033, allocations: 9.5 kB / 2.895 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/4.033, allocations: 7.219 kB / 2.895 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009904/4.034, allocations: 0.9849 MB / 2.896 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/4.035, allocations: 159 kB / 2.896 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/4.035, allocations: 10.78 kB / 2.896 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/4.035, allocations: 57.42 kB / 2.896 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/4.035, allocations: 52.14 kB / 2.896 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/4.035, allocations: 15.5 kB / 2.896 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001624/4.035, allocations: 234.6 kB / 2.896 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006595/4.036, allocations: 247.1 kB / 2.896 GB, free: 141.2 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.001592/4.038, allocations: 1.663 MB / 2.898 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005203/4.038, allocations: 429.8 kB / 2.898 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/4.038, allocations: 0 / 2.898 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/4.039, allocations: 239.3 kB / 2.899 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/4.039, allocations: 174.1 kB / 2.899 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/4.041, allocations: 0.785 MB / 2.899 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/4.041, allocations: 0.9263 MB / 2.9 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/4.041, allocations: 0 / 2.9 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.02107/4.062, allocations: 16.73 MB / 2.917 GB, free: 139.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)