Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 289.8 MB / 297.1 MB, free: 8.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 185.2 kB / 366.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.1 MB / 0.6256 GB, free: 11.43 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 93.58 kB / 0.7396 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.662/0.6632, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.9432, allocations: 116.3 MB / 0.9727 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8106/1.754, allocations: 141.5 MB / 1.111 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/1.754, allocations: 87.08 kB / 1.111 GB, free: 16.25 MB / 0.6823 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.02431/1.779, allocations: 8.096 MB / 1.119 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.779, allocations: 9.469 kB / 1.119 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/1.779, allocations: 19.03 kB / 1.119 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/1.779, allocations: 247.8 kB / 1.119 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/1.779, allocations: 5.781 kB / 1.119 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.779, allocations: 7.625 kB / 1.119 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003908/1.78, allocations: 175.7 kB / 1.119 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.78, allocations: 131.3 kB / 1.119 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.78, allocations: 1.375 kB / 1.119 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/1.78, allocations: 0.6094 kB / 1.119 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.78, allocations: 1.438 kB / 1.119 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/1.78, allocations: 224.6 kB / 1.12 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/1.78, allocations: 158.2 kB / 1.12 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.781, allocations: 61.8 kB / 1.12 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/1.781, allocations: 2.312 kB / 1.12 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/1.781, allocations: 113.4 kB / 1.12 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/1.781, allocations: 1.219 kB / 1.12 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004042/1.781, allocations: 173.9 kB / 1.12 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.781, allocations: 82.83 kB / 1.12 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/1.781, allocations: 219.2 kB / 1.12 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/1.782, allocations: 31.89 kB / 1.12 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/1.782, allocations: 95.11 kB / 1.121 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/1.782, allocations: 50.12 kB / 1.121 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/1.782, allocations: 3.938 kB / 1.121 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/1.782, allocations: 331.4 kB / 1.121 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/1.782, allocations: 55.72 kB / 1.121 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/1.782, allocations: 76.16 kB / 1.121 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/1.782, allocations: 68.59 kB / 1.121 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.782, allocations: 0 / 1.121 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003435/1.782, allocations: 202.6 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.783, allocations: 5.812 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.783, allocations: 0 / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.783, allocations: 1.156 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/1.783, allocations: 29.64 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.783, allocations: 1.188 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/1.783, allocations: 12.86 kB / 1.121 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/1.783, allocations: 14.55 kB / 1.121 GB, free: 14.08 MB / 0.6823 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 7.791e-05/1.783, allocations: 108.4 kB / 1.121 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/1.783, allocations: 19.16 kB / 1.121 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/1.783, allocations: 254.3 kB / 1.122 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.783, allocations: 3.406 kB / 1.122 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.784, allocations: 3.984 kB / 1.122 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.784, allocations: 1.406 kB / 1.122 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/1.784, allocations: 248.4 kB / 1.122 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.784, allocations: 0 / 1.122 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/1.784, allocations: 34.27 kB / 1.122 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.784, allocations: 0.9375 kB / 1.122 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/1.784, allocations: 11.73 kB / 1.122 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.784, allocations: 1.562 kB / 1.122 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.784, allocations: 0 / 1.122 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000371/1.784, allocations: 241.8 kB / 1.122 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004471/1.785, allocations: 0.6253 MB / 1.123 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/1.785, allocations: 99.69 kB / 1.123 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/1.785, allocations: 7.531 kB / 1.123 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/1.785, allocations: 3.734 kB / 1.123 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/1.785, allocations: 15 kB / 1.123 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/1.785, allocations: 7.5 kB / 1.123 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001936/1.785, allocations: 185.1 kB / 1.123 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009514/1.786, allocations: 55.39 kB / 1.123 GB, free: 13 MB / 0.6823 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.0009441/1.787, allocations: 368.3 kB / 1.124 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003574/1.788, allocations: 143.3 kB / 1.124 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.788, allocations: 0 / 1.124 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/1.788, allocations: 86.94 kB / 1.124 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/1.788, allocations: 35.3 kB / 1.124 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/1.789, allocations: 251.3 kB / 1.124 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/1.789, allocations: 0.7716 MB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/1.789, allocations: 0 / 1.125 GB, free: 27.98 MB / 0.698 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)