Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.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.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") translateModel(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") [: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.6938/0.6938, allocations: 141.8 MB / 149.1 MB, free: 4.48 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.0009831/0.000983, allocations: 182.8 kB / 181.9 MB, free: 140 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.3 MB / 436 MB, free: 9.273 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.0009758/0.0009757, allocations: 104.1 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 293 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.745e-06, allocations: 0 / 0.6759 GB, free: 2.684 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4314, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.697/4.129, allocations: 1.881 GB / 2.638 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/4.129, allocations: 86.86 kB / 2.638 GB, free: 178.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.9693/5.098, allocations: 328.4 MB / 2.959 GB, free: 124.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 5.141e-05/5.098, allocations: 19.94 kB / 2.959 GB, free: 124.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001381/5.1, allocations: 0.8132 MB / 2.959 GB, free: 124 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/5.1, allocations: 11.97 kB / 2.959 GB, free: 124 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/5.101, allocations: 183.1 kB / 2.96 GB, free: 123.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009723/5.102, allocations: 0.5262 MB / 2.96 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/5.102, allocations: 12 kB / 2.96 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/5.102, allocations: 27.91 kB / 2.96 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004567/5.103, allocations: 273.5 kB / 2.96 GB, free: 122.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/5.103, allocations: 310.1 kB / 2.961 GB, free: 122.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/5.103, allocations: 0 / 2.961 GB, free: 122.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/5.103, allocations: 8 kB / 2.961 GB, free: 122.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/5.103, allocations: 12.78 kB / 2.961 GB, free: 122.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/5.105, allocations: 1.567 MB / 2.962 GB, free: 120.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/5.105, allocations: 234.8 kB / 2.962 GB, free: 120.7 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/5.106, allocations: 125 kB / 2.963 GB, free: 120.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/5.106, allocations: 93.09 kB / 2.963 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/5.106, allocations: 42.56 kB / 2.963 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/5.106, allocations: 4 kB / 2.963 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.0006618/5.106, allocations: 289 kB / 2.963 GB, free: 120.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/5.106, allocations: 55.39 kB / 2.963 GB, free: 120 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/5.107, allocations: 317.1 kB / 2.963 GB, free: 119.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/5.107, allocations: 25.7 kB / 2.963 GB, free: 119.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/5.107, allocations: 208.1 kB / 2.964 GB, free: 119.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/5.107, allocations: 86.75 kB / 2.964 GB, free: 119.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/5.107, allocations: 4 kB / 2.964 GB, free: 119.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.569e-05/5.107, allocations: 350.8 kB / 2.964 GB, free: 119 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/5.107, allocations: 84.55 kB / 2.964 GB, free: 118.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/5.107, allocations: 171.3 kB / 2.964 GB, free: 118.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/5.107, allocations: 125 kB / 2.964 GB, free: 118.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/5.107, allocations: 0 / 2.964 GB, free: 118.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003855/5.108, allocations: 315.5 kB / 2.965 GB, free: 118.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/5.108, allocations: 0.6944 MB / 2.965 GB, free: 117.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/5.108, allocations: 4 kB / 2.965 GB, free: 117.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/5.108, allocations: 4 kB / 2.965 GB, free: 117.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/5.108, allocations: 63.91 kB / 2.965 GB, free: 117.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/5.108, allocations: 3.938 kB / 2.965 GB, free: 117.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/5.109, allocations: 43.72 kB / 2.965 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/5.109, allocations: 12 kB / 2.965 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-06/5.109, allocations: 4 kB / 2.965 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003033/5.109, allocations: 227.8 kB / 2.966 GB, free: 117.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/5.109, allocations: 4 kB / 2.966 GB, free: 117.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-06/5.109, allocations: 4 kB / 2.966 GB, free: 117.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/5.109, allocations: 72.06 kB / 2.966 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/5.109, allocations: 0 / 2.966 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/5.11, allocations: 43.66 kB / 2.966 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/5.11, allocations: 12 kB / 2.966 GB, free: 117.1 MB / 0.6982 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 (34): * Single equations (assignments): 34 * 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.599e-05/5.11, allocations: 113.4 kB / 2.966 GB, free: 117 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/5.11, allocations: 43.44 kB / 2.966 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/5.11, allocations: 277.2 kB / 2.966 GB, free: 116.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/5.11, allocations: 4 kB / 2.966 GB, free: 116.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/5.11, allocations: 0 / 2.966 GB, free: 116.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002902/5.111, allocations: 474.7 kB / 2.967 GB, free: 116.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009571/5.112, allocations: 0.8379 MB / 2.967 GB, free: 115.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/5.112, allocations: 0 / 2.967 GB, free: 115.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/5.112, allocations: 67.91 kB / 2.968 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/5.112, allocations: 4 kB / 2.968 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/5.112, allocations: 11.89 kB / 2.968 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/5.112, allocations: 4 kB / 2.968 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/5.112, allocations: 4.125 kB / 2.968 GB, free: 115.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004946/5.113, allocations: 0.5564 MB / 2.968 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/5.113, allocations: 156.4 kB / 2.968 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/5.113, allocations: 4 kB / 2.968 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/5.113, allocations: 27.88 kB / 2.968 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/5.113, allocations: 19.92 kB / 2.968 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/5.113, allocations: 12.06 kB / 2.968 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001912/5.114, allocations: 251.2 kB / 2.969 GB, free: 114 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009126/5.114, allocations: 327.2 kB / 2.969 GB, free: 113.7 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001363/5.116, allocations: 1.178 MB / 2.97 GB, free: 112.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0004829/5.116, allocations: 374.2 kB / 2.97 GB, free: 112.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/5.116, allocations: 0 / 2.97 GB, free: 112.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/5.116, allocations: 115.8 kB / 2.97 GB, free: 112.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/5.118, allocations: 258.2 kB / 2.971 GB, free: 112 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/5.119, allocations: 0.766 MB / 2.971 GB, free: 111.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/5.119, allocations: 0.9249 MB / 2.972 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of SimCode: time 2.5e-07/5.119, allocations: 0 / 2.972 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of Templates: time 0.02083/5.14, allocations: 15.15 MB / 2.987 GB, free: 95.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & ./BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)