Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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 7.0.3-maint.7.0.x/package.mo): time 1.287/1.287, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001216, allocations: 176.8 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.0008146, allocations: 90.33 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3672/0.368, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.5433, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.591, allocations: 449.2 MB / 1.323 GB, free: 298.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/1.591, allocations: 95.94 kB / 1.323 GB, free: 298.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 2.202/3.792, allocations: 0.852 GB / 2.175 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/3.793, allocations: 8 kB / 2.175 GB, free: 92.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/3.794, allocations: 432 kB / 2.176 GB, free: 91.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/3.815, allocations: 9.47 MB / 2.185 GB, free: 82.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/3.815, allocations: 35.75 kB / 2.185 GB, free: 82.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/3.815, allocations: 68 kB / 2.185 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00156/3.817, allocations: 0.7685 MB / 2.186 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/3.819, allocations: 0.996 MB / 2.187 GB, free: 80.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/3.819, allocations: 10.78 kB / 2.187 GB, free: 80.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/3.819, allocations: 0 / 2.187 GB, free: 80.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/3.819, allocations: 31.91 kB / 2.187 GB, free: 80.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/3.825, allocations: 6.582 MB / 2.193 GB, free: 73.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/3.826, allocations: 470.5 kB / 2.194 GB, free: 73.15 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/3.826, allocations: 355.6 kB / 2.194 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/3.828, allocations: 1.78 MB / 2.196 GB, free: 70.65 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/3.828, allocations: 399 kB / 2.196 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=77): time 2.996e-06/3.828, allocations: 0 / 2.196 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77): time 0.002332/3.83, allocations: 0.9702 MB / 2.197 GB, free: 69.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/3.83, allocations: 85.77 kB / 2.197 GB, free: 69.18 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/3.832, allocations: 0.9543 MB / 2.198 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.15e-05/3.832, allocations: 33.7 kB / 2.198 GB, free: 68.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/3.832, allocations: 480.7 kB / 2.199 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/3.832, allocations: 264.1 kB / 2.199 GB, free: 67.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/3.832, allocations: 0 / 2.199 GB, free: 67.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/3.832, allocations: 341.9 kB / 2.199 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/3.833, allocations: 285.7 kB / 2.2 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/3.833, allocations: 0.5275 MB / 2.2 GB, free: 66.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/3.835, allocations: 0.5391 MB / 2.201 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/3.835, allocations: 4 kB / 2.201 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002367/3.837, allocations: 1.139 MB / 2.202 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003607/3.838, allocations: 2.402 MB / 2.204 GB, free: 61.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/3.838, allocations: 8 kB / 2.204 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/3.838, allocations: 12 kB / 2.204 GB, free: 61.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000844/3.838, allocations: 227.7 kB / 2.204 GB, free: 61.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/3.838, allocations: 17.88 kB / 2.204 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/3.84, allocations: 151 kB / 2.205 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/3.84, allocations: 47.98 kB / 2.205 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/3.84, allocations: 4 kB / 2.205 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/3.842, allocations: 0.9691 MB / 2.206 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/3.842, allocations: 12.03 kB / 2.206 GB, free: 60.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/3.842, allocations: 15.94 kB / 2.206 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/3.843, allocations: 231.6 kB / 2.206 GB, free: 60.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/3.843, allocations: 15.94 kB / 2.206 GB, free: 60.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/3.844, allocations: 139.2 kB / 2.206 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/3.844, allocations: 47.98 kB / 2.206 GB, free: 60.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001688/3.844, allocations: 128.8 kB / 2.206 GB, free: 59.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/3.844, allocations: 146.2 kB / 2.206 GB, free: 59.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/3.847, allocations: 1.561 MB / 2.208 GB, free: 58.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/3.847, allocations: 15.98 kB / 2.208 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/3.847, allocations: 0 / 2.208 GB, free: 58.26 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/3.849, allocations: 1.246 MB / 2.209 GB, free: 56.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/3.854, allocations: 2.552 MB / 2.212 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/3.854, allocations: 12.08 kB / 2.212 GB, free: 54.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/3.854, allocations: 183.7 kB / 2.212 GB, free: 54.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/3.854, allocations: 8 kB / 2.212 GB, free: 54.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/3.855, allocations: 19.98 kB / 2.212 GB, free: 54.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/3.855, allocations: 4 kB / 2.212 GB, free: 54.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.855, allocations: 0 / 2.212 GB, free: 54.14 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002754/3.857, allocations: 1.865 MB / 2.214 GB, free: 52.22 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003476/3.861, allocations: 2.876 MB / 2.216 GB, free: 49.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/3.861, allocations: 358.8 kB / 2.217 GB, free: 48.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/3.862, allocations: 11.98 kB / 2.217 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/3.863, allocations: 99.81 kB / 2.217 GB, free: 48.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/3.863, allocations: 60.69 kB / 2.217 GB, free: 48.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/3.863, allocations: 35.97 kB / 2.217 GB, free: 48.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000912/3.864, allocations: 0.718 MB / 2.218 GB, free: 48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004074/3.868, allocations: 1.193 MB / 2.219 GB, free: 46.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,senEntOut.h_out,eneLosInt.y,senEntIn.h_out) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.001753/3.87, allocations: 1.19 MB / 2.22 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00183/3.872, allocations: 1.433 MB / 2.221 GB, free: 44.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/3.872, allocations: 3.984 kB / 2.221 GB, free: 44.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/3.872, allocations: 0.5413 MB / 2.222 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/3.874, allocations: 0.5052 MB / 2.222 GB, free: 43.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005724/3.88, allocations: 2.463 MB / 2.225 GB, free: 40.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/3.881, allocations: 1.475 MB / 2.226 GB, free: 39.29 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/3.881, allocations: 0 / 2.226 GB, free: 39.29 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)