Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",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.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001187/0.001187, allocations: 177.3 kB / 361.1 MB, free: 7.121 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.232/1.232, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008908/0.0008909, allocations: 87 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2225/0.2234, allocations: 121.4 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.7705, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7905/1.561, allocations: 430.7 MB / 1.384 GB, free: 136 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.561, allocations: 87.19 kB / 1.384 GB, free: 135.9 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 2.273/3.834, allocations: 0.7692 GB / 2.154 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/3.834, allocations: 12.16 kB / 2.154 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/3.839, allocations: 0.8463 MB / 2.154 GB, free: 130.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05834/3.897, allocations: 23.29 MB / 2.177 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/3.897, allocations: 246.6 kB / 2.177 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/3.899, allocations: 305.9 kB / 2.178 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009985/3.909, allocations: 5.167 MB / 2.183 GB, free: 117.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/3.92, allocations: 6.404 MB / 2.189 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/3.92, allocations: 23.06 kB / 2.189 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004912/3.921, allocations: 10.28 kB / 2.189 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/3.921, allocations: 175 kB / 2.189 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02944/3.95, allocations: 29.08 MB / 2.218 GB, free: 86.37 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/3.955, allocations: 3.242 MB / 2.221 GB, free: 83.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/3.956, allocations: 1.682 MB / 2.222 GB, free: 81.46 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/3.957, allocations: 0.9708 MB / 2.223 GB, free: 80.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/3.957, allocations: 80.28 kB / 2.223 GB, free: 80.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=253): time 4.218e-06/3.957, allocations: 0 / 2.223 GB, free: 80.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=253): time 0.005878/3.963, allocations: 3.164 MB / 2.227 GB, free: 77.04 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/3.963, allocations: 77.41 kB / 2.227 GB, free: 76.95 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006975/3.97, allocations: 4.766 MB / 2.231 GB, free: 72.19 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005393/3.971, allocations: 29.7 kB / 2.231 GB, free: 72.15 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/3.972, allocations: 2.056 MB / 2.233 GB, free: 70.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/3.974, allocations: 0.8655 MB / 2.234 GB, free: 69.19 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/3.974, allocations: 0 / 2.234 GB, free: 69.19 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001598/3.974, allocations: 457.1 kB / 2.235 GB, free: 68.74 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/3.976, allocations: 1.447 MB / 2.236 GB, free: 67.29 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/3.978, allocations: 2.586 MB / 2.239 GB, free: 64.22 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/3.98, allocations: 2.197 MB / 2.241 GB, free: 62.05 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/3.98, allocations: 12 kB / 2.241 GB, free: 62.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007009/3.987, allocations: 4.477 MB / 2.245 GB, free: 57.54 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002703/3.99, allocations: 16.5 MB / 2.261 GB, free: 39.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/3.99, allocations: 39.5 kB / 2.261 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.531e-05/3.99, allocations: 62.41 kB / 2.261 GB, free: 39.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/3.994, allocations: 0.8803 MB / 2.262 GB, free: 38.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004902/3.994, allocations: 1.253 MB / 2.263 GB, free: 37.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004617/3.999, allocations: 436.1 kB / 2.264 GB, free: 37.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/3.999, allocations: 166.8 kB / 2.264 GB, free: 37.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/3.999, allocations: 7.938 kB / 2.264 GB, free: 37.09 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00511/4.004, allocations: 3.974 MB / 2.268 GB, free: 33.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/4.004, allocations: 36 kB / 2.268 GB, free: 33.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/4.004, allocations: 60.91 kB / 2.268 GB, free: 33.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/4.007, allocations: 0.8581 MB / 2.269 GB, free: 32.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.718e-05/4.007, allocations: 79.72 kB / 2.269 GB, free: 32.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/4.011, allocations: 372.7 kB / 2.269 GB, free: 31.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/4.012, allocations: 168 kB / 2.269 GB, free: 31.54 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008464/4.012, allocations: 211.8 kB / 2.27 GB, free: 31.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/4.014, allocations: 490.1 kB / 2.27 GB, free: 30.84 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005732/4.019, allocations: 3.668 MB / 2.274 GB, free: 27.12 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/4.02, allocations: 35.94 kB / 2.274 GB, free: 27.09 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/4.02, allocations: 0 / 2.274 GB, free: 27.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/4.023, allocations: 2.814 MB / 2.276 GB, free: 24.23 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/4.037, allocations: 8.792 MB / 2.285 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/4.037, allocations: 0 / 2.285 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/4.039, allocations: 0.5328 MB / 2.285 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/4.039, allocations: 8 kB / 2.285 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/4.039, allocations: 51.95 kB / 2.286 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/4.04, allocations: 1.188 MB / 2.287 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/4.04, allocations: 0 / 2.287 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006916/4.047, allocations: 5.622 MB / 2.292 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009184/4.056, allocations: 8.172 MB / 2.3 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003843/4.06, allocations: 1.264 MB / 2.301 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/4.061, allocations: 25.86 kB / 2.301 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/4.064, allocations: 203.2 kB / 2.302 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/4.064, allocations: 133.8 kB / 2.302 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/4.065, allocations: 143.9 kB / 2.302 GB, free: 13.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005931/4.071, allocations: 3.689 MB / 2.305 GB, free: 10.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01142/4.082, allocations: 3.368 MB / 2.309 GB, free: 6.691 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/4.084, allocations: 0.653 MB / 2.309 GB, free: 6.105 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008472/4.092, allocations: 5.713 MB / 2.315 GB, free: 388 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/4.092, allocations: 8.5 kB / 2.315 GB, free: 380 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.3317/4.424, allocations: 1.544 MB / 2.317 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01447/4.438, allocations: 3.029 MB / 2.319 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/4.459, allocations: 11.59 MB / 2.331 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005371/4.464, allocations: 5.186 MB / 2.336 GB, free: 228.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/4.464, allocations: 0 / 2.336 GB, free: 228.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)