Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.361/2.361, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001688/0.001688, allocations: 189.2 kB / 360.3 MB, free: 7.566 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.968/1.968, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001282/0.001282, allocations: 92.44 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2691/0.2705, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.8968, allocations: 115.2 MB / 0.9627 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.983, allocations: 430.5 MB / 1.383 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.984, allocations: 91.12 kB / 1.383 GB, free: 138.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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 3.805/5.789, allocations: 0.7692 GB / 2.152 GB, free: 145.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/5.789, allocations: 8.25 kB / 2.152 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/5.796, allocations: 0.844 MB / 2.153 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.11/5.906, allocations: 23.3 MB / 2.176 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009969/5.907, allocations: 242.9 kB / 2.176 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/5.91, allocations: 312.4 kB / 2.177 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01895/5.929, allocations: 5.17 MB / 2.182 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02483/5.954, allocations: 6.405 MB / 2.188 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/5.954, allocations: 20.06 kB / 2.188 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/5.956, allocations: 11.44 kB / 2.188 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/5.957, allocations: 172.2 kB / 2.188 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06649/6.023, allocations: 29.08 MB / 2.216 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008849/6.032, allocations: 3.241 MB / 2.22 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/6.036, allocations: 1.681 MB / 2.221 GB, free: 98.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/6.038, allocations: 0.9771 MB / 2.222 GB, free: 97.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.559e-05/6.038, allocations: 73.06 kB / 2.222 GB, free: 97.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=253): time 5.541e-06/6.038, allocations: 0 / 2.222 GB, free: 97.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=253): time 0.01126/6.049, allocations: 3.167 MB / 2.225 GB, free: 94.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/6.049, allocations: 77.41 kB / 2.225 GB, free: 94.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01212/6.061, allocations: 4.766 MB / 2.23 GB, free: 89.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009619/6.062, allocations: 33.7 kB / 2.23 GB, free: 89.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/6.065, allocations: 2.056 MB / 2.232 GB, free: 87.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005491/6.071, allocations: 0.8624 MB / 2.233 GB, free: 86.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005613/6.071, allocations: 0 / 2.233 GB, free: 86.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005247/6.072, allocations: 456 kB / 2.233 GB, free: 85.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006179/6.078, allocations: 1.459 MB / 2.235 GB, free: 84.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007593/6.086, allocations: 2.574 MB / 2.237 GB, free: 81.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/6.093, allocations: 2.199 MB / 2.24 GB, free: 79.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.601e-05/6.094, allocations: 11.34 kB / 2.24 GB, free: 79.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01465/6.108, allocations: 4.477 MB / 2.244 GB, free: 74.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003679/6.112, allocations: 16.5 MB / 2.26 GB, free: 57.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/6.112, allocations: 36 kB / 2.26 GB, free: 57.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/6.112, allocations: 60 kB / 2.26 GB, free: 57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007294/6.12, allocations: 0.8869 MB / 2.261 GB, free: 56.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008512/6.12, allocations: 1.261 MB / 2.262 GB, free: 54.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008291/6.129, allocations: 428 kB / 2.263 GB, free: 54.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/6.13, allocations: 168 kB / 2.263 GB, free: 54.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/6.13, allocations: 5.188 kB / 2.263 GB, free: 54.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/6.141, allocations: 3.975 MB / 2.267 GB, free: 50.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/6.141, allocations: 36 kB / 2.267 GB, free: 50.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.578e-05/6.141, allocations: 63.89 kB / 2.267 GB, free: 50.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/6.148, allocations: 0.8624 MB / 2.268 GB, free: 49.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-05/6.148, allocations: 75.72 kB / 2.268 GB, free: 49.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007694/6.156, allocations: 380.7 kB / 2.268 GB, free: 48.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009746/6.157, allocations: 160 kB / 2.268 GB, free: 48.7 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.001237/6.158, allocations: 219.8 kB / 2.268 GB, free: 48.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002281/6.16, allocations: 490.1 kB / 2.269 GB, free: 47.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/6.173, allocations: 3.664 MB / 2.272 GB, free: 44.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/6.173, allocations: 31.98 kB / 2.272 GB, free: 44.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/6.173, allocations: 0 / 2.272 GB, free: 44.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007374/6.18, allocations: 2.813 MB / 2.275 GB, free: 41.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/6.207, allocations: 8.785 MB / 2.284 GB, free: 32.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/6.207, allocations: 3.828 kB / 2.284 GB, free: 32.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005165/6.212, allocations: 0.5384 MB / 2.284 GB, free: 32.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.574e-05/6.212, allocations: 12 kB / 2.284 GB, free: 32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005224/6.213, allocations: 43.95 kB / 2.284 GB, free: 31.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005939/6.213, allocations: 1.188 MB / 2.286 GB, free: 30.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/6.213, allocations: 0 / 2.286 GB, free: 30.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0146/6.228, allocations: 5.622 MB / 2.291 GB, free: 24.99 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01974/6.248, allocations: 8.172 MB / 2.299 GB, free: 16.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005588/6.253, allocations: 1.26 MB / 2.3 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002785/6.256, allocations: 23.98 kB / 2.3 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007667/6.264, allocations: 203.2 kB / 2.3 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007769/6.265, allocations: 133.8 kB / 2.301 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006612/6.265, allocations: 147.9 kB / 2.301 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00964/6.275, allocations: 3.693 MB / 2.304 GB, free: 11.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01922/6.294, allocations: 3.364 MB / 2.308 GB, free: 7.848 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.002515/6.297, allocations: 0.6568 MB / 2.308 GB, free: 7.262 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01501/6.312, allocations: 5.714 MB / 2.314 GB, free: 1.535 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.99e-05/6.312, allocations: 12.56 kB / 2.314 GB, free: 1.523 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.4386/6.751, allocations: 1.54 MB / 2.315 GB, free: 232.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02734/6.778, allocations: 3.025 MB / 2.318 GB, free: 232 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/6.815, allocations: 11.6 MB / 2.33 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01304/6.828, allocations: 5.178 MB / 2.335 GB, free: 229.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.114e-06/6.828, allocations: 2.781 kB / 2.335 GB, free: 229.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)