Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.293/2.293, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001658/0.001658, allocations: 192.2 kB / 315.1 MB, free: 4.266 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.8/1.8, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001273, allocations: 98.25 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4582/0.4595, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.688, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/2.066, allocations: 423.9 MB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/2.066, allocations: 91.95 kB / 1.298 GB, free: 293.5 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.667/5.733, allocations: 0.7527 GB / 2.05 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/5.733, allocations: 7.375 kB / 2.05 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006762/5.74, allocations: 0.8364 MB / 2.051 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09423/5.834, allocations: 22.92 MB / 2.073 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004902/5.835, allocations: 241.7 kB / 2.074 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/5.837, allocations: 307.7 kB / 2.074 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01825/5.856, allocations: 5.169 MB / 2.079 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/5.886, allocations: 6.296 MB / 2.085 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004959/5.886, allocations: 21.31 kB / 2.085 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002842/5.889, allocations: 10.44 kB / 2.085 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004772/5.89, allocations: 174.1 kB / 2.085 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07605/5.966, allocations: 28.94 MB / 2.114 GB, free: 83.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/5.977, allocations: 3.238 MB / 2.117 GB, free: 82.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/5.983, allocations: 1.689 MB / 2.118 GB, free: 82.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/5.984, allocations: 0.9753 MB / 2.119 GB, free: 81.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.917e-05/5.985, allocations: 71.23 kB / 2.119 GB, free: 81.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=253): time 5.189e-06/5.985, allocations: 3.938 kB / 2.119 GB, free: 81.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=253): time 0.0133/5.998, allocations: 3.156 MB / 2.123 GB, free: 80.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/5.998, allocations: 78.19 kB / 2.123 GB, free: 80.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01662/6.015, allocations: 4.772 MB / 2.127 GB, free: 77.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008744/6.016, allocations: 29.45 kB / 2.127 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/6.019, allocations: 2.062 MB / 2.129 GB, free: 75.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003142/6.022, allocations: 0.8623 MB / 2.13 GB, free: 75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/6.023, allocations: 0 / 2.13 GB, free: 75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003526/6.023, allocations: 456.3 kB / 2.131 GB, free: 74.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005883/6.029, allocations: 1.451 MB / 2.132 GB, free: 73.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007851/6.037, allocations: 2.591 MB / 2.135 GB, free: 70.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/6.044, allocations: 2.19 MB / 2.137 GB, free: 67.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/6.045, allocations: 12 kB / 2.137 GB, free: 67.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01471/6.059, allocations: 4.479 MB / 2.141 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003745/6.063, allocations: 16.51 MB / 2.157 GB, free: 45.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/6.063, allocations: 36 kB / 2.157 GB, free: 45.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.744e-05/6.063, allocations: 60 kB / 2.157 GB, free: 45.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007314/6.071, allocations: 0.8804 MB / 2.158 GB, free: 44.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000857/6.072, allocations: 1.255 MB / 2.159 GB, free: 43.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00908/6.081, allocations: 433.9 kB / 2.16 GB, free: 43.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/6.082, allocations: 164 kB / 2.16 GB, free: 42.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/6.082, allocations: 4 kB / 2.16 GB, free: 42.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01227/6.094, allocations: 3.98 MB / 2.164 GB, free: 38.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/6.094, allocations: 34.81 kB / 2.164 GB, free: 38.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.732e-05/6.094, allocations: 60 kB / 2.164 GB, free: 38.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008092/6.103, allocations: 0.8715 MB / 2.165 GB, free: 37.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001561/6.103, allocations: 74.36 kB / 2.165 GB, free: 37.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/6.115, allocations: 371.9 kB / 2.165 GB, free: 37.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/6.117, allocations: 168 kB / 2.165 GB, free: 37.37 MB / 0.8542 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.001903/6.119, allocations: 218.6 kB / 2.166 GB, free: 37.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003315/6.122, allocations: 486.1 kB / 2.166 GB, free: 36.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/6.142, allocations: 3.668 MB / 2.17 GB, free: 32.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.451e-05/6.142, allocations: 28 kB / 2.17 GB, free: 32.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/6.142, allocations: 3.938 kB / 2.17 GB, free: 32.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01305/6.155, allocations: 2.81 MB / 2.172 GB, free: 30.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/6.193, allocations: 8.708 MB / 2.181 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/6.193, allocations: 4 kB / 2.181 GB, free: 21.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005406/6.199, allocations: 0.5372 MB / 2.181 GB, free: 20.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.677e-05/6.199, allocations: 11 kB / 2.181 GB, free: 20.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006735/6.2, allocations: 47.95 kB / 2.181 GB, free: 20.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006384/6.2, allocations: 1.178 MB / 2.183 GB, free: 19.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/6.2, allocations: 4 kB / 2.183 GB, free: 19.52 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01586/6.216, allocations: 5.615 MB / 2.188 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02077/6.237, allocations: 8.165 MB / 2.196 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005369/6.242, allocations: 1.228 MB / 2.197 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/6.245, allocations: 23.98 kB / 2.197 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007512/6.252, allocations: 208.5 kB / 2.197 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007604/6.253, allocations: 136 kB / 2.198 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006296/6.254, allocations: 131.9 kB / 2.198 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.009471/6.263, allocations: 3.685 MB / 2.201 GB, free: 112 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01986/6.283, allocations: 3.353 MB / 2.205 GB, free: 12.74 MB / 0.8698 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.0027/6.286, allocations: 0.6693 MB / 2.205 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01725/6.303, allocations: 5.713 MB / 2.211 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/6.303, allocations: 4 kB / 2.211 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005837/6.309, allocations: 1.545 MB / 2.212 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02959/6.339, allocations: 3.011 MB / 2.215 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04141/6.38, allocations: 11.59 MB / 2.227 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01411/6.394, allocations: 5.181 MB / 2.232 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of SimCode: time 1.703e-06/6.394, allocations: 0 / 2.232 GB, free: 1.258 MB / 0.8855 GB