Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [: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.7904/0.7904, allocations: 141.8 MB / 149.1 MB, free: 1.453 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.001181, allocations: 181.3 kB / 181.9 MB, free: 0.8359 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.543/1.543, allocations: 221.4 MB / 436 MB, free: 5.523 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.0009872/0.0009869, allocations: 88.73 kB / 0.507 GB, free: 2.211 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 286.9 kB / 0.5885 GB, free: 47.34 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.713e-06, allocations: 1.219 kB / 0.6759 GB, free: 59.64 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 82.78 MB / 0.7567 GB, free: 0.793 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.3111, allocations: 109.9 MB / 0.864 GB, free: 2.738 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.3114, allocations: 87.94 kB / 0.8641 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.3491/0.6605, allocations: 4.6 MB / 0.8686 GB, free: 110.1 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.6606, allocations: 6.375 kB / 0.8686 GB, free: 110.1 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003881/0.661, allocations: 429.7 kB / 0.869 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.661, allocations: 7.688 kB / 0.869 GB, free: 109.7 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.6611, allocations: 21.56 kB / 0.8691 GB, free: 109.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.6612, allocations: 208.2 kB / 0.8693 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6612, allocations: 0 / 0.8693 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.6613, allocations: 3.031 kB / 0.8693 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/0.6614, allocations: 47.52 kB / 0.8693 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.6615, allocations: 61.97 kB / 0.8694 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6615, allocations: 0 / 0.8694 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6615, allocations: 2.891 kB / 0.8694 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6616, allocations: 0.5938 kB / 0.8694 GB, free: 109.4 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.6621, allocations: 321.8 kB / 0.8697 GB, free: 109.2 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6622, allocations: 62.94 kB / 0.8697 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.6623, allocations: 28.25 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.6623, allocations: 10.62 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.6624, allocations: 39.44 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6624, allocations: 0 / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.6626, allocations: 102.2 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.6627, allocations: 51.41 kB / 0.87 GB, free: 109 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.6629, allocations: 220 kB / 0.8702 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6629, allocations: 25.7 kB / 0.8702 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.663, allocations: 100.9 kB / 0.8703 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.663, allocations: 5.5 kB / 0.8703 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.663, allocations: 0 / 0.8703 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.6631, allocations: 328.5 kB / 0.8706 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.6631, allocations: 31.83 kB / 0.8706 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.6632, allocations: 20.44 kB / 0.8707 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.6632, allocations: 23.25 kB / 0.8707 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6633, allocations: 0 / 0.8707 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001543/0.6634, allocations: 101.8 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6634, allocations: 5.078 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6635, allocations: 0 / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.6635, allocations: 4.938 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6636, allocations: 17.8 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6636, allocations: 0 / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.6637, allocations: 11.34 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.6637, allocations: 2.781 kB / 0.8708 GB, free: 108.4 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.707e-05/0.6638, allocations: 102.2 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.6639, allocations: 20.19 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.6641, allocations: 125.1 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6641, allocations: 1.891 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6641, allocations: 3.938 kB / 0.8711 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6642, allocations: 0 / 0.8711 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.6644, allocations: 201.2 kB / 0.8712 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6644, allocations: 5.578 kB / 0.8712 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/0.6645, allocations: 16.5 kB / 0.8713 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6645, allocations: 1.281 kB / 0.8713 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6645, allocations: 0.875 kB / 0.8713 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6645, allocations: 0.75 kB / 0.8713 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6645, allocations: 1.031 kB / 0.8713 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.6647, allocations: 188.5 kB / 0.8714 GB, free: 107.9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.6647, allocations: 94.28 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.6648, allocations: 1.922 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6649, allocations: 13.25 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.6649, allocations: 2.656 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.665, allocations: 6.406 kB / 0.8716 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001518/0.6651, allocations: 174.8 kB / 0.8717 GB, free: 107.7 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002717/0.6654, allocations: 39.11 kB / 0.8718 GB, free: 107.7 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 (2): * Single equations (assignments): 2 * 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.0002526/0.6656, allocations: 160.8 kB / 0.8719 GB, free: 107.6 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.6658, allocations: 38.3 kB / 0.872 GB, free: 107.6 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6658, allocations: 0 / 0.872 GB, free: 107.6 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.6658, allocations: 19.81 kB / 0.872 GB, free: 107.6 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.6662, allocations: 38.08 kB / 0.872 GB, free: 107.6 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.6666, allocations: 214.8 kB / 0.8722 GB, free: 107.5 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.6669, allocations: 0.75 MB / 0.8729 GB, free: 106.8 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.6669, allocations: 3.938 kB / 0.873 GB, free: 106.8 MB / 0.5419 GB Notification: Performance of Templates: time 0.005461/0.6724, allocations: 1.711 MB / 0.8746 GB, free: 106.7 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)