Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise") [: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.001023/0.001023, allocations: 189.2 kB / 7.803 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.436/0.436, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.124/1.124, allocations: 221.4 MB / 342.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009651/0.0009651, allocations: 90.45 kB / 415.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.131e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 72.3 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.121/3.415, allocations: 1.89 GB / 2.443 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/3.415, allocations: 84.48 kB / 2.443 GB, free: 183.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.9227/4.338, allocations: 318.9 MB / 2.755 GB, free: 99.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001456/4.338, allocations: 51.33 kB / 2.755 GB, free: 99.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003768/4.342, allocations: 1.783 MB / 2.756 GB, free: 97.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/4.342, allocations: 8.031 kB / 2.756 GB, free: 97.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/4.346, allocations: 0.5322 MB / 2.757 GB, free: 97.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/4.348, allocations: 0.9842 MB / 2.758 GB, free: 96.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/4.348, allocations: 52 kB / 2.758 GB, free: 96.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/4.349, allocations: 99.91 kB / 2.758 GB, free: 96.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003004/4.352, allocations: 1.669 MB / 2.76 GB, free: 94.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/4.354, allocations: 1.469 MB / 2.761 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/4.354, allocations: 4 kB / 2.761 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/4.354, allocations: 0 / 2.761 GB, free: 92.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/4.354, allocations: 40 kB / 2.761 GB, free: 92.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/4.361, allocations: 4.693 MB / 2.766 GB, free: 88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/4.363, allocations: 1.491 MB / 2.767 GB, free: 86.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/4.364, allocations: 0.5698 MB / 2.768 GB, free: 85.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000894/4.365, allocations: 1.134 MB / 2.769 GB, free: 84.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/4.366, allocations: 0.7294 MB / 2.769 GB, free: 83.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=137): time 3.196e-06/4.366, allocations: 0 / 2.769 GB, free: 83.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=137): time 0.003354/4.369, allocations: 1.316 MB / 2.771 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/4.369, allocations: 252.6 kB / 2.771 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/4.37, allocations: 0.6097 MB / 2.772 GB, free: 81.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/4.37, allocations: 29.7 kB / 2.772 GB, free: 81.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/4.37, allocations: 0.5119 MB / 2.772 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/4.371, allocations: 441.4 kB / 2.773 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/4.371, allocations: 3.938 kB / 2.773 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.558e-05/4.371, allocations: 349.9 kB / 2.773 GB, free: 80.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/4.371, allocations: 378.5 kB / 2.773 GB, free: 79.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/4.372, allocations: 0.527 MB / 2.774 GB, free: 79.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/4.373, allocations: 472.9 kB / 2.774 GB, free: 78.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/4.373, allocations: 4 kB / 2.774 GB, free: 78.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002459/4.375, allocations: 1.257 MB / 2.775 GB, free: 77.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/4.375, allocations: 8 kB / 2.775 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/4.375, allocations: 0 / 2.775 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/4.376, allocations: 192 kB / 2.776 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/4.378, allocations: 306.5 kB / 2.776 GB, free: 76.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/4.382, allocations: 6.466 MB / 2.782 GB, free: 69.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/4.383, allocations: 123.1 kB / 2.782 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/4.383, allocations: 43.97 kB / 2.782 GB, free: 69.74 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002667/4.383, allocations: 124.7 kB / 2.782 GB, free: 69.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/4.383, allocations: 122.6 kB / 2.783 GB, free: 69.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/4.387, allocations: 1.596 MB / 2.784 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/4.387, allocations: 16 kB / 2.784 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/4.387, allocations: 4 kB / 2.784 GB, free: 67.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/4.387, allocations: 7.969 kB / 2.784 GB, free: 67.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/4.392, allocations: 2.945 MB / 2.787 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/4.392, allocations: 7.984 kB / 2.787 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/4.393, allocations: 303.6 kB / 2.787 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007844/4.394, allocations: 196.1 kB / 2.788 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-05/4.394, allocations: 19.97 kB / 2.788 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/4.398, allocations: 6.498 MB / 2.794 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/4.398, allocations: 0 / 2.794 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002508/4.4, allocations: 1.438 MB / 2.795 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/4.401, allocations: 391.1 kB / 2.796 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/4.401, allocations: 11.91 kB / 2.796 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/4.403, allocations: 104.4 kB / 2.796 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/4.403, allocations: 77.19 kB / 2.796 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/4.403, allocations: 63.95 kB / 2.796 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005342/4.403, allocations: 499.1 kB / 2.796 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001766/4.405, allocations: 0.6243 MB / 2.797 GB, free: 54.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/4.408, allocations: 1.703 MB / 2.799 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002037/4.41, allocations: 1.558 MB / 2.8 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/4.41, allocations: 0.6562 kB / 2.8 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/4.411, allocations: 1.13 MB / 2.801 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/4.413, allocations: 387.7 kB / 2.802 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/4.418, allocations: 2.197 MB / 2.804 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/4.419, allocations: 1.467 MB / 2.805 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/4.419, allocations: 0 / 2.805 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.04485/4.464, allocations: 32.5 MB / 2.837 GB, free: 13.46 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)