Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [: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.001817/0.001817, allocations: 179.5 kB / 7.458 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.6033/0.6033, allocations: 133.5 MB / 141.4 MB, free: 15.62 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.135/1.135, allocations: 221.3 MB / 395 MB, free: 10.09 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.0008024/0.0008025, allocations: 92.98 kB / 477.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.663e-06, allocations: 2.75 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 82.31 MB / 0.6332 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.843/2.954, allocations: 1.875 GB / 2.508 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/2.955, allocations: 87.95 kB / 2.508 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.176/4.131, allocations: 442.3 MB / 2.94 GB, free: 154 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.26e-05/4.131, allocations: 14.16 kB / 2.94 GB, free: 154 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001288/4.132, allocations: 0.8488 MB / 2.941 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/4.132, allocations: 8.656 kB / 2.941 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/4.133, allocations: 166.6 kB / 2.941 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/4.135, allocations: 0.6807 MB / 2.942 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/4.135, allocations: 11.97 kB / 2.942 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/4.135, allocations: 25.81 kB / 2.942 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005567/4.136, allocations: 254.1 kB / 2.942 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/4.136, allocations: 370.2 kB / 2.943 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/4.136, allocations: 4.688 kB / 2.943 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/4.136, allocations: 5.344 kB / 2.943 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/4.136, allocations: 9.438 kB / 2.943 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/4.138, allocations: 1.927 MB / 2.945 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/4.139, allocations: 181.8 kB / 2.945 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/4.139, allocations: 116.3 kB / 2.945 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/4.139, allocations: 311.2 kB / 2.945 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/4.139, allocations: 44.8 kB / 2.945 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/4.139, allocations: 0 / 2.945 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0009928/4.14, allocations: 407.9 kB / 2.946 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/4.14, allocations: 54 kB / 2.946 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/4.141, allocations: 228.9 kB / 2.946 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/4.141, allocations: 25.7 kB / 2.946 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/4.141, allocations: 209.2 kB / 2.946 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/4.141, allocations: 78.78 kB / 2.946 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/4.141, allocations: 2.594 kB / 2.946 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/4.141, allocations: 339.2 kB / 2.946 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/4.141, allocations: 92.09 kB / 2.947 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/4.141, allocations: 178.2 kB / 2.947 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/4.142, allocations: 229.1 kB / 2.947 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/4.142, allocations: 1.188 kB / 2.947 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000744/4.142, allocations: 410.1 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/4.142, allocations: 5.312 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/4.142, allocations: 6.875 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/4.142, allocations: 4.969 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/4.143, allocations: 61.83 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/4.143, allocations: 7.078 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/4.143, allocations: 40.45 kB / 2.947 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/4.143, allocations: 19.22 kB / 2.947 GB, free: 150.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 6.34e-05/4.143, allocations: 110.9 kB / 2.948 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/4.143, allocations: 30.41 kB / 2.948 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/4.144, allocations: 424.4 kB / 2.948 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/4.144, allocations: 5.812 kB / 2.948 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/4.144, allocations: 3.719 kB / 2.948 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/4.144, allocations: 1.359 kB / 2.948 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/4.145, allocations: 0.9322 MB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/4.145, allocations: 3.719 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/4.146, allocations: 59.67 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/4.146, allocations: 3.906 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/4.146, allocations: 4.375 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/4.146, allocations: 4.203 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/4.146, allocations: 3.562 kB / 2.949 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008725/4.147, allocations: 0.7509 MB / 2.95 GB, free: 149 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/4.147, allocations: 132.6 kB / 2.95 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/4.147, allocations: 0 / 2.95 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/4.147, allocations: 32.41 kB / 2.95 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/4.147, allocations: 22.36 kB / 2.95 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/4.147, allocations: 8.125 kB / 2.95 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001148/4.147, allocations: 180.7 kB / 2.95 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006415/4.148, allocations: 227.2 kB / 2.95 GB, free: 148.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001734/4.15, allocations: 1.712 MB / 2.952 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003206/4.15, allocations: 236.5 kB / 2.952 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/4.15, allocations: 3.594 kB / 2.952 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/4.15, allocations: 130.4 kB / 2.952 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/4.151, allocations: 106 kB / 2.952 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/4.152, allocations: 0.5621 MB / 2.953 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/4.152, allocations: 0.8707 MB / 2.954 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/4.152, allocations: 0 / 2.954 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.01993/4.172, allocations: 14.06 MB / 2.968 GB, free: 140.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)