Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7152/0.7152, allocations: 141.8 MB / 149.1 MB, free: 3.75 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 174.6 kB / 181.9 MB, free: 15.52 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.4 MB / 436 MB, free: 8.656 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 95.44 kB / 0.507 GB, free: 24.19 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 284.9 kB / 0.5884 GB, free: 11.72 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.583e-06/6.773e-06, allocations: 0 / 0.6759 GB, free: 2.094 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3582, allocations: 82.76 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4777, allocations: 108.6 MB / 0.8628 GB, free: 3.527 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4779, allocations: 72.8 kB / 0.8629 GB, free: 3.457 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.006036/0.484, allocations: 2.072 MB / 0.8649 GB, free: 1.406 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.484, allocations: 4 kB / 0.8649 GB, free: 1.402 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00034/0.4844, allocations: 362.3 kB / 0.8652 GB, free: 1.008 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4844, allocations: 12.62 kB / 0.8652 GB, free: 0.9961 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.4845, allocations: 4.938 kB / 0.8652 GB, free: 0.9922 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.4846, allocations: 170.9 kB / 0.8654 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.4846, allocations: 34.23 kB / 0.8654 GB, free: 0.7461 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.4846, allocations: 4.562 kB / 0.8654 GB, free: 0.7422 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.245e-05/0.4847, allocations: 27.98 kB / 0.8655 GB, free: 0.7148 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.4848, allocations: 53.8 kB / 0.8655 GB, free: 0.6602 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4848, allocations: 0.75 kB / 0.8655 GB, free: 0.6602 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4849, allocations: 0 / 0.8655 GB, free: 0.6602 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4849, allocations: 4.688 kB / 0.8655 GB, free: 0.6562 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.4853, allocations: 284.3 kB / 0.8658 GB, free: 352 kB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.4854, allocations: 31.2 kB / 0.8658 GB, free: 312 kB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.4854, allocations: 21.58 kB / 0.8658 GB, free: 288 kB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4854, allocations: 0.6562 kB / 0.8659 GB, free: 288 kB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4855, allocations: 35.75 kB / 0.8659 GB, free: 244 kB / 0.5263 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.4855, allocations: 0.9375 kB / 0.8659 GB, free: 244 kB / 0.5263 GB Notification: Performance of matching and sorting (n=4): time 0.0001395/0.4856, allocations: 53.69 kB / 0.8659 GB, free: 184 kB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.4856, allocations: 52.5 kB / 0.866 GB, free: 120 kB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.4857, allocations: 101.7 kB / 0.8661 GB, free: 12 kB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4857, allocations: 25.7 kB / 0.8661 GB, free: 15.98 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.4858, allocations: 84.73 kB / 0.8662 GB, free: 15.89 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.4858, allocations: 16.59 kB / 0.8662 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.4858, allocations: 0 / 0.8662 GB, free: 15.88 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.486, allocations: 319.5 kB / 0.8665 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.486, allocations: 4 kB / 0.8665 GB, free: 15.55 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.486, allocations: 27.91 kB / 0.8665 GB, free: 15.52 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.4861, allocations: 7.938 kB / 0.8665 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4861, allocations: 4.594 kB / 0.8666 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.4862, allocations: 58.16 kB / 0.8666 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.4862, allocations: 7.062 kB / 0.8666 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4862, allocations: 4 kB / 0.8666 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.4862, allocations: 2.438 kB / 0.8666 GB, free: 15.44 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4863, allocations: 17.42 kB / 0.8666 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4864, allocations: 0.5312 kB / 0.8666 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.4864, allocations: 22.05 kB / 0.8667 GB, free: 15.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4864, allocations: 0 / 0.8667 GB, free: 15.4 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.511e-05/0.4865, allocations: 105 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.4866, allocations: 5.188 kB / 0.8668 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.4866, allocations: 12.09 kB / 0.8668 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4866, allocations: 7.922 kB / 0.8668 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4866, allocations: 0.5312 kB / 0.8668 GB, free: 15.27 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4866, allocations: 4.828 kB / 0.8668 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.4868, allocations: 150.3 kB / 0.8669 GB, free: 15.08 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4868, allocations: 0.625 kB / 0.8669 GB, free: 15.08 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.4869, allocations: 20.02 kB / 0.867 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4869, allocations: 0 / 0.867 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4869, allocations: 3.906 kB / 0.867 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4869, allocations: 0 / 0.867 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4869, allocations: 4 kB / 0.867 GB, free: 15.05 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001316/0.4871, allocations: 151.4 kB / 0.8671 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.4871, allocations: 77.11 kB / 0.8672 GB, free: 14.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4872, allocations: 5.688 kB / 0.8672 GB, free: 14.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.4873, allocations: 15.98 kB / 0.8672 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.4873, allocations: 12.02 kB / 0.8672 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4874, allocations: 4 kB / 0.8672 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.785e-05/0.4874, allocations: 83.28 kB / 0.8673 GB, free: 14.68 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002162/0.4876, allocations: 15.94 kB / 0.8673 GB, free: 14.66 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001288/0.4878, allocations: 99.23 kB / 0.8674 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.4879, allocations: 24 kB / 0.8674 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4879, allocations: 0 / 0.8674 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.4879, allocations: 19.94 kB / 0.8674 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.4881, allocations: 1.094 kB / 0.8674 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.4884, allocations: 84.02 kB / 0.8675 GB, free: 14.4 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.4886, allocations: 0.6954 MB / 0.8682 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.4886, allocations: 2.25 kB / 0.8682 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of Templates: time 0.002625/0.4913, allocations: 0.7527 MB / 0.8689 GB, free: 12.96 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)