Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001139/0.001139, allocations: 181.2 kB / 366.3 MB, free: 2 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.565/1.565, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0009634/0.0009633, allocations: 82.47 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3254/0.3264, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7548/1.081, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9855/2.067, allocations: 431.7 MB / 1.394 GB, free: 54.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/2.067, allocations: 89.2 kB / 1.394 GB, free: 54.19 MB / 0.823 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.823/4.891, allocations: 0.7692 GB / 2.163 GB, free: 139.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/4.891, allocations: 9.844 kB / 2.163 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007165/4.898, allocations: 0.8424 MB / 2.164 GB, free: 138.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05983/4.958, allocations: 23.28 MB / 2.187 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/4.958, allocations: 239.9 kB / 2.187 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/4.961, allocations: 318.8 kB / 2.188 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01336/4.974, allocations: 5.17 MB / 2.193 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/4.994, allocations: 6.401 MB / 2.199 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/4.995, allocations: 27.78 kB / 2.199 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009201/4.995, allocations: 8 kB / 2.199 GB, free: 103.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/4.996, allocations: 170.9 kB / 2.199 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04575/5.041, allocations: 29.07 MB / 2.227 GB, free: 73.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005082/5.047, allocations: 3.242 MB / 2.231 GB, free: 70.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/5.049, allocations: 1.685 MB / 2.232 GB, free: 68.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/5.05, allocations: 0.9703 MB / 2.233 GB, free: 67.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/5.05, allocations: 79.44 kB / 2.233 GB, free: 67.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 5.45e-06/5.05, allocations: 3.938 kB / 2.233 GB, free: 67.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.006603/5.056, allocations: 3.16 MB / 2.236 GB, free: 64.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/5.056, allocations: 81.34 kB / 2.236 GB, free: 64.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/5.065, allocations: 4.77 MB / 2.241 GB, free: 59.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/5.066, allocations: 29.7 kB / 2.241 GB, free: 59.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/5.068, allocations: 2.056 MB / 2.243 GB, free: 57.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002187/5.07, allocations: 0.8662 MB / 2.244 GB, free: 56.38 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/5.07, allocations: 3.875 kB / 2.244 GB, free: 56.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002308/5.071, allocations: 449.2 kB / 2.244 GB, free: 55.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/5.072, allocations: 1.463 MB / 2.246 GB, free: 54.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/5.075, allocations: 2.573 MB / 2.248 GB, free: 51.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/5.078, allocations: 2.207 MB / 2.251 GB, free: 49.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/5.078, allocations: 8 kB / 2.251 GB, free: 49.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008187/5.086, allocations: 4.479 MB / 2.255 GB, free: 44.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005098/5.091, allocations: 16.5 MB / 2.271 GB, free: 26.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/5.092, allocations: 36 kB / 2.271 GB, free: 26.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.933e-05/5.092, allocations: 60 kB / 2.271 GB, free: 26.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004423/5.096, allocations: 0.8815 MB / 2.272 GB, free: 25.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007335/5.097, allocations: 1.254 MB / 2.273 GB, free: 24.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/5.104, allocations: 427.9 kB / 2.274 GB, free: 24.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009448/5.105, allocations: 168 kB / 2.274 GB, free: 24.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/5.105, allocations: 4 kB / 2.274 GB, free: 24.06 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007038/5.112, allocations: 3.976 MB / 2.278 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/5.112, allocations: 36 kB / 2.278 GB, free: 20.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.797e-05/5.112, allocations: 60 kB / 2.278 GB, free: 19.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/5.115, allocations: 0.8741 MB / 2.279 GB, free: 19.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.715e-05/5.115, allocations: 79.66 kB / 2.279 GB, free: 19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005455/5.12, allocations: 368.8 kB / 2.279 GB, free: 18.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004928/5.121, allocations: 164 kB / 2.279 GB, free: 18.48 MB / 0.948 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.001106/5.122, allocations: 219.6 kB / 2.279 GB, free: 18.26 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/5.124, allocations: 490.1 kB / 2.28 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/5.131, allocations: 3.666 MB / 2.283 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/5.131, allocations: 27.98 kB / 2.283 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/5.131, allocations: 5.875 kB / 2.283 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003786/5.134, allocations: 2.815 MB / 2.286 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/5.155, allocations: 8.779 MB / 2.295 GB, free: 2.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/5.155, allocations: 0 / 2.295 GB, free: 2.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/5.157, allocations: 0.5462 MB / 2.295 GB, free: 1.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/5.157, allocations: 12 kB / 2.295 GB, free: 1.781 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/5.158, allocations: 43.95 kB / 2.295 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004082/5.158, allocations: 1.184 MB / 2.297 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/5.158, allocations: 0 / 2.297 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00972/5.168, allocations: 5.626 MB / 2.302 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01286/5.181, allocations: 8.175 MB / 2.31 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005052/5.186, allocations: 1.264 MB / 2.311 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002042/5.188, allocations: 23.98 kB / 2.311 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005318/5.193, allocations: 211.1 kB / 2.311 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/5.194, allocations: 137.7 kB / 2.312 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005577/5.194, allocations: 147.9 kB / 2.312 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.5457/5.74, allocations: 3.684 MB / 2.315 GB, free: 233.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0196/5.76, allocations: 3.359 MB / 2.319 GB, free: 233.8 MB / 0.9636 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.002537/5.762, allocations: 0.6498 MB / 2.319 GB, free: 233.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01077/5.773, allocations: 5.72 MB / 2.325 GB, free: 233.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/5.773, allocations: 6 kB / 2.325 GB, free: 233.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/5.776, allocations: 1.547 MB / 2.326 GB, free: 233.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01965/5.795, allocations: 3.025 MB / 2.329 GB, free: 233.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/5.825, allocations: 11.59 MB / 2.341 GB, free: 231.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0103/5.836, allocations: 5.191 MB / 2.346 GB, free: 230.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.432e-06/5.836, allocations: 0 / 2.346 GB, free: 230.8 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)