Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") [: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.7548/0.7548, allocations: 141.8 MB / 149.1 MB, free: 2.938 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.001199/0.001199, allocations: 189.4 kB / 181.9 MB, free: 14.82 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.462/1.462, allocations: 221.4 MB / 436 MB, free: 7.859 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.0009907/0.0009908, allocations: 93.86 kB / 0.507 GB, free: 24.36 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 285.9 kB / 0.5884 GB, free: 11 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.125e-05, allocations: 3.938 kB / 0.6759 GB, free: 1.367 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5384, allocations: 82.76 MB / 0.7567 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.434, allocations: 398.4 MB / 1.146 GB, free: 12.61 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.434, allocations: 89.39 kB / 1.146 GB, free: 12.56 MB / 0.6825 GB Notification: Performance of FrontEnd: time 1.117/2.551, allocations: 294.1 MB / 1.433 GB, free: 13.82 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001288/2.551, allocations: 15.98 kB / 1.433 GB, free: 13.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003567/2.554, allocations: 1.022 MB / 1.434 GB, free: 12.73 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/2.554, allocations: 16.03 kB / 1.434 GB, free: 12.71 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/2.557, allocations: 294.7 kB / 1.434 GB, free: 12.43 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/2.56, allocations: 0.8624 MB / 1.435 GB, free: 11.52 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/2.56, allocations: 16 kB / 1.435 GB, free: 11.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/2.56, allocations: 36 kB / 1.435 GB, free: 11.47 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/2.561, allocations: 426.4 kB / 1.436 GB, free: 11.05 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.562, allocations: 0.6297 MB / 1.436 GB, free: 10.36 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/2.562, allocations: 7.938 kB / 1.436 GB, free: 10.36 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/2.562, allocations: 0 / 1.436 GB, free: 10.36 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/2.562, allocations: 19.98 kB / 1.436 GB, free: 10.34 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/2.568, allocations: 4.012 MB / 1.44 GB, free: 6.082 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/2.568, allocations: 250.8 kB / 1.441 GB, free: 5.828 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/2.568, allocations: 116.8 kB / 1.441 GB, free: 5.711 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/2.569, allocations: 368.4 kB / 1.441 GB, free: 5.277 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/2.569, allocations: 42.56 kB / 1.441 GB, free: 5.227 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=20): time 3.397e-06/2.569, allocations: 3.938 kB / 1.441 GB, free: 5.223 MB / 0.6982 GB Notification: Performance of matching and sorting (n=20): time 0.001133/2.57, allocations: 377 kB / 1.441 GB, free: 4.848 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/2.57, allocations: 114.7 kB / 1.442 GB, free: 4.711 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007071/2.571, allocations: 486.3 kB / 1.442 GB, free: 4.234 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/2.571, allocations: 25.7 kB / 1.442 GB, free: 4.203 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/2.571, allocations: 331.1 kB / 1.442 GB, free: 3.871 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/2.571, allocations: 74.94 kB / 1.442 GB, free: 3.797 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/2.571, allocations: 0 / 1.442 GB, free: 3.797 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/2.571, allocations: 362.8 kB / 1.443 GB, free: 3.434 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/2.571, allocations: 120.8 kB / 1.443 GB, free: 3.316 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/2.572, allocations: 284.8 kB / 1.443 GB, free: 2.969 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/2.572, allocations: 183.8 kB / 1.443 GB, free: 2.789 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/2.572, allocations: 0 / 1.443 GB, free: 2.789 MB / 0.6982 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/2.573, allocations: 0.5013 MB / 1.444 GB, free: 2.277 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/2.573, allocations: 11.91 kB / 1.444 GB, free: 2.266 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/2.573, allocations: 4 kB / 1.444 GB, free: 2.262 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/2.574, allocations: 52.83 kB / 1.444 GB, free: 2.207 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/2.574, allocations: 136.3 kB / 1.444 GB, free: 2.074 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004501/2.575, allocations: 0.6381 MB / 1.445 GB, free: 1.41 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/2.576, allocations: 111.5 kB / 1.445 GB, free: 1.301 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/2.576, allocations: 24.05 kB / 1.445 GB, free: 1.277 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.576, allocations: 116.9 kB / 1.445 GB, free: 1.156 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/2.576, allocations: 59.25 kB / 1.445 GB, free: 1.098 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/2.577, allocations: 487.4 kB / 1.445 GB, free: 0.6055 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/2.577, allocations: 11.89 kB / 1.445 GB, free: 0.5938 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.577, allocations: 0 / 1.445 GB, free: 0.5938 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4323/3.01, allocations: 0.5739 MB / 1.446 GB, free: 210.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/3.012, allocations: 1.001 MB / 1.447 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/3.012, allocations: 0 / 1.447 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/3.013, allocations: 88.5 kB / 1.447 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/3.013, allocations: 52.77 kB / 1.447 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/3.013, allocations: 17.69 kB / 1.447 GB, free: 210.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004379/3.014, allocations: 0.6263 MB / 1.448 GB, free: 210 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/3.014, allocations: 0 / 1.448 GB, free: 210 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/3.015, allocations: 0.6736 MB / 1.448 GB, free: 209.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/3.015, allocations: 199.7 kB / 1.449 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/3.015, allocations: 6.516 kB / 1.449 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/3.016, allocations: 71.98 kB / 1.449 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/3.016, allocations: 10.48 kB / 1.449 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/3.016, allocations: 25.84 kB / 1.449 GB, free: 209.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004973/3.017, allocations: 371.1 kB / 1.449 GB, free: 209.7 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001365/3.018, allocations: 319.2 kB / 1.449 GB, free: 209.7 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/3.019, allocations: 462.4 kB / 1.45 GB, free: 209.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006458/3.02, allocations: 320.6 kB / 1.45 GB, free: 209.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/3.02, allocations: 0 / 1.45 GB, free: 209.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/3.02, allocations: 145.8 kB / 1.45 GB, free: 209.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/3.021, allocations: 298.9 kB / 1.45 GB, free: 209.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/3.023, allocations: 0.8027 MB / 1.451 GB, free: 209.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/3.024, allocations: 1.018 MB / 1.452 GB, free: 208.6 MB / 0.6982 GB Notification: Performance of SimCode: time 5.01e-07/3.024, allocations: 0 / 1.452 GB, free: 208.6 MB / 0.6982 GB Notification: Performance of Templates: time 0.02691/3.051, allocations: 14.44 MB / 1.466 GB, free: 208.4 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)