Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.385/1.385, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001065/0.001065, allocations: 177.3 kB / 361.1 MB, free: 7.086 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.306/1.306, allocations: 205.1 MB / 0.6195 GB, free: 12 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008782, allocations: 99.05 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2288/0.2297, allocations: 121.4 MB / 0.8512 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.7509, allocations: 115.3 MB / 0.9638 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7711/1.522, allocations: 455.9 MB / 1.409 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.522, allocations: 100.3 kB / 1.409 GB, free: 109.4 MB / 0.8542 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.318/3.841, allocations: 0.8761 GB / 2.285 GB, free: 68.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/3.841, allocations: 8 kB / 2.285 GB, free: 68.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/3.843, allocations: 425.9 kB / 2.286 GB, free: 67.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/3.864, allocations: 9.639 MB / 2.295 GB, free: 57.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/3.864, allocations: 32 kB / 2.295 GB, free: 57.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/3.864, allocations: 67.98 kB / 2.295 GB, free: 57.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001701/3.866, allocations: 0.7578 MB / 2.296 GB, free: 56.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/3.867, allocations: 1.019 MB / 2.297 GB, free: 55.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/3.868, allocations: 0 / 2.297 GB, free: 55.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.765e-05/3.868, allocations: 4 kB / 2.297 GB, free: 55.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/3.868, allocations: 35.98 kB / 2.297 GB, free: 55.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006949/3.875, allocations: 6.968 MB / 2.304 GB, free: 48.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/3.875, allocations: 451.7 kB / 2.304 GB, free: 47.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/3.876, allocations: 326.8 kB / 2.304 GB, free: 47.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/3.877, allocations: 1.781 MB / 2.306 GB, free: 45.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/3.878, allocations: 383 kB / 2.306 GB, free: 44.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/3.878, allocations: 4 kB / 2.306 GB, free: 44.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002337/3.88, allocations: 0.9119 MB / 2.307 GB, free: 44.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/3.88, allocations: 85.7 kB / 2.307 GB, free: 43.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/3.881, allocations: 0.9641 MB / 2.308 GB, free: 42.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/3.882, allocations: 25.7 kB / 2.308 GB, free: 42.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/3.882, allocations: 496.5 kB / 2.309 GB, free: 42.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/3.882, allocations: 252.3 kB / 2.309 GB, free: 42.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/3.882, allocations: 0 / 2.309 GB, free: 42.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/3.882, allocations: 337.9 kB / 2.309 GB, free: 41.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/3.883, allocations: 273.9 kB / 2.31 GB, free: 41.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/3.883, allocations: 0.5381 MB / 2.31 GB, free: 40.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/3.884, allocations: 0.5018 MB / 2.311 GB, free: 40.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/3.884, allocations: 4 kB / 2.311 GB, free: 40.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002362/3.887, allocations: 1.084 MB / 2.312 GB, free: 39.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004404/3.887, allocations: 2.751 MB / 2.314 GB, free: 36.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/3.887, allocations: 11.98 kB / 2.314 GB, free: 36.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/3.887, allocations: 12 kB / 2.314 GB, free: 36.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/3.888, allocations: 223.7 kB / 2.315 GB, free: 36.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/3.888, allocations: 15.94 kB / 2.315 GB, free: 36.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/3.889, allocations: 151.1 kB / 2.315 GB, free: 36.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/3.89, allocations: 47.98 kB / 2.315 GB, free: 35.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/3.89, allocations: 4 kB / 2.315 GB, free: 35.97 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002046/3.892, allocations: 0.9217 MB / 2.316 GB, free: 35.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/3.892, allocations: 15.94 kB / 2.316 GB, free: 35.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/3.892, allocations: 12 kB / 2.316 GB, free: 35.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/3.892, allocations: 228.3 kB / 2.316 GB, free: 34.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/3.893, allocations: 15.94 kB / 2.316 GB, free: 34.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/3.894, allocations: 147.2 kB / 2.316 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/3.894, allocations: 43.98 kB / 2.316 GB, free: 34.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (107): * Single equations (assignments): 105 * 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.000205/3.894, allocations: 131.7 kB / 2.316 GB, free: 34.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/3.894, allocations: 142.2 kB / 2.317 GB, free: 34.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/3.898, allocations: 1.496 MB / 2.318 GB, free: 32.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/3.898, allocations: 11.98 kB / 2.318 GB, free: 32.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/3.898, allocations: 7.984 kB / 2.318 GB, free: 32.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/3.899, allocations: 1.183 MB / 2.319 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/3.904, allocations: 2.488 MB / 2.322 GB, free: 29.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/3.904, allocations: 7.984 kB / 2.322 GB, free: 29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/3.904, allocations: 175.9 kB / 2.322 GB, free: 28.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/3.904, allocations: 4 kB / 2.322 GB, free: 28.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/3.905, allocations: 19.97 kB / 2.322 GB, free: 28.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/3.905, allocations: 4 kB / 2.322 GB, free: 28.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.905, allocations: 4 kB / 2.322 GB, free: 28.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002612/3.907, allocations: 1.797 MB / 2.324 GB, free: 26.94 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003324/3.91, allocations: 2.788 MB / 2.326 GB, free: 24.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000617/3.911, allocations: 370.7 kB / 2.327 GB, free: 23.72 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/3.911, allocations: 8 kB / 2.327 GB, free: 23.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/3.912, allocations: 95.89 kB / 2.327 GB, free: 23.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/3.913, allocations: 60.55 kB / 2.327 GB, free: 23.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/3.913, allocations: 43.97 kB / 2.327 GB, free: 23.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009186/3.914, allocations: 0.7223 MB / 2.328 GB, free: 22.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004237/3.918, allocations: 1.189 MB / 2.329 GB, free: 21.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * 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 (96): * Single equations (assignments): 79 * 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.00197/3.92, allocations: 1.188 MB / 2.33 GB, free: 20.47 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001806/3.922, allocations: 1.397 MB / 2.331 GB, free: 19.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/3.922, allocations: 4.188 kB / 2.331 GB, free: 19.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/3.922, allocations: 0.5258 MB / 2.332 GB, free: 18.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/3.925, allocations: 0.5065 MB / 2.332 GB, free: 18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/3.93, allocations: 2.34 MB / 2.335 GB, free: 15.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/3.931, allocations: 1.451 MB / 2.336 GB, free: 14.12 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/3.931, allocations: 0 / 2.336 GB, free: 14.12 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)