Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [: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.7944/0.7944, allocations: 141.8 MB / 149.1 MB, free: 13.17 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 191.7 kB / 181.9 MB, free: 9.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.531/1.531, allocations: 221.4 MB / 436 MB, free: 2.258 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.0009515/0.0009515, allocations: 95.22 kB / 0.507 GB, free: 17.74 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 272.3 kB / 0.5884 GB, free: 3.812 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.378e-06, allocations: 2.188 kB / 0.6759 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 82.79 MB / 0.7568 GB, free: 83.18 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.3237, allocations: 111.7 MB / 0.8658 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.324, allocations: 84.59 kB / 0.8659 GB, free: 3.273 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02049/0.3445, allocations: 7.786 MB / 0.8735 GB, free: 11.48 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.3445, allocations: 0 / 0.8735 GB, free: 11.48 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006501/0.3452, allocations: 461.9 kB / 0.8739 GB, free: 10.98 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3452, allocations: 12.03 kB / 0.8739 GB, free: 10.97 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.3453, allocations: 15.81 kB / 0.8739 GB, free: 10.95 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3457, allocations: 246.7 kB / 0.8742 GB, free: 10.67 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3457, allocations: 4 kB / 0.8742 GB, free: 10.67 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3458, allocations: 4 kB / 0.8742 GB, free: 10.66 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002954/0.3461, allocations: 179.8 kB / 0.8744 GB, free: 10.49 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3463, allocations: 131.1 kB / 0.8745 GB, free: 10.35 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3463, allocations: 0 / 0.8745 GB, free: 10.35 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3463, allocations: 0 / 0.8745 GB, free: 10.35 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3463, allocations: 4 kB / 0.8745 GB, free: 10.34 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.3466, allocations: 226 kB / 0.8747 GB, free: 10.09 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3468, allocations: 150.5 kB / 0.8748 GB, free: 9.93 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.3469, allocations: 68.83 kB / 0.8749 GB, free: 9.859 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.347, allocations: 7.938 kB / 0.8749 GB, free: 9.852 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.3471, allocations: 111.4 kB / 0.875 GB, free: 9.73 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3471, allocations: 0 / 0.875 GB, free: 9.73 MB / 0.5575 GB Notification: Performance of matching and sorting (n=13): time 0.0003538/0.3475, allocations: 169.5 kB / 0.8752 GB, free: 9.559 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3475, allocations: 85.11 kB / 0.8753 GB, free: 9.457 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3478, allocations: 221.7 kB / 0.8755 GB, free: 9.23 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3478, allocations: 29.7 kB / 0.8755 GB, free: 9.195 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.3479, allocations: 92.12 kB / 0.8756 GB, free: 9.102 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3479, allocations: 51.38 kB / 0.8756 GB, free: 9.051 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.3479, allocations: 0 / 0.8756 GB, free: 9.051 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.348, allocations: 330.7 kB / 0.876 GB, free: 8.719 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.3481, allocations: 51.98 kB / 0.876 GB, free: 8.668 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3482, allocations: 82.48 kB / 0.8761 GB, free: 8.578 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3484, allocations: 68.33 kB / 0.8762 GB, free: 8.512 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3484, allocations: 0 / 0.8762 GB, free: 8.512 MB / 0.5575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003333/0.3487, allocations: 201.1 kB / 0.8763 GB, free: 8.312 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3487, allocations: 9.812 kB / 0.8764 GB, free: 8.305 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3487, allocations: 0 / 0.8764 GB, free: 8.305 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3488, allocations: 4 kB / 0.8764 GB, free: 8.301 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3489, allocations: 27.92 kB / 0.8764 GB, free: 8.273 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3489, allocations: 0 / 0.8764 GB, free: 8.273 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.349, allocations: 11.94 kB / 0.8764 GB, free: 8.262 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.349, allocations: 8 kB / 0.8764 GB, free: 8.254 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.39e-05/0.3491, allocations: 103.4 kB / 0.8765 GB, free: 8.148 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.3492, allocations: 23.7 kB / 0.8765 GB, free: 8.125 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.3496, allocations: 254.2 kB / 0.8768 GB, free: 7.863 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3496, allocations: 4 kB / 0.8768 GB, free: 7.859 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3496, allocations: 0 / 0.8768 GB, free: 7.859 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3497, allocations: 4 kB / 0.8768 GB, free: 7.855 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.35, allocations: 250.1 kB / 0.877 GB, free: 7.574 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.35, allocations: 0 / 0.877 GB, free: 7.574 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3501, allocations: 35.98 kB / 0.877 GB, free: 7.539 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3501, allocations: 3.906 kB / 0.8771 GB, free: 7.535 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3501, allocations: 7.984 kB / 0.8771 GB, free: 7.527 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3501, allocations: 3.938 kB / 0.8771 GB, free: 7.523 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3501, allocations: 0 / 0.8771 GB, free: 7.523 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000334/0.3505, allocations: 244.3 kB / 0.8773 GB, free: 7.27 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.3506, allocations: 100.9 kB / 0.8774 GB, free: 7.152 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3506, allocations: 8 kB / 0.8774 GB, free: 7.145 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3507, allocations: 7.984 kB / 0.8774 GB, free: 7.137 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3508, allocations: 11.92 kB / 0.8774 GB, free: 7.125 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3508, allocations: 15.91 kB / 0.8774 GB, free: 7.109 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001738/0.351, allocations: 184 kB / 0.8776 GB, free: 6.93 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.000295/0.3513, allocations: 47.92 kB / 0.8777 GB, free: 6.883 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008013/0.3521, allocations: 362.2 kB / 0.878 GB, free: 6.617 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.3523, allocations: 159.8 kB / 0.8782 GB, free: 6.461 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3524, allocations: 0 / 0.8782 GB, free: 6.461 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3525, allocations: 87.92 kB / 0.8782 GB, free: 6.375 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3528, allocations: 27.91 kB / 0.8783 GB, free: 6.348 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.3533, allocations: 250.5 kB / 0.8785 GB, free: 6.082 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.3538, allocations: 0.7707 MB / 0.8793 GB, free: 5.289 MB / 0.5575 GB Notification: Performance of SimCode: time 2.41e-07/0.3538, allocations: 0 / 0.8793 GB, free: 5.289 MB / 0.5575 GB Notification: Performance of Templates: time 0.005999/0.3598, allocations: 2.729 MB / 0.8819 GB, free: 2.59 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)