Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",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 9.1.1-maint.9.1.x/package.mo): time 1.989/1.989, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 180.8 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 104.9 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5752/0.5762, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.855, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.933, allocations: 419.1 MB / 1.615 GB, free: 3.555 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.934, allocations: 91.19 kB / 1.615 GB, free: 3.512 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 9.34/11.27, allocations: 2.397 GB / 4.012 GB, free: 170.7 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/11.27, allocations: 10.59 kB / 4.012 GB, free: 170.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/11.28, allocations: 1.366 MB / 4.013 GB, free: 170.1 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/11.32, allocations: 13.18 MB / 4.026 GB, free: 169 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/11.32, allocations: 179.9 kB / 4.026 GB, free: 169 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002758/11.33, allocations: 355.4 kB / 4.026 GB, free: 169 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02549/11.35, allocations: 18.15 MB / 4.044 GB, free: 169 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02914/11.38, allocations: 12.77 MB / 4.057 GB, free: 168.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/11.38, allocations: 26.03 kB / 4.057 GB, free: 168.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002451/11.38, allocations: 13.09 kB / 4.057 GB, free: 168.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-05/11.38, allocations: 143 kB / 4.057 GB, free: 168.2 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1189/11.5, allocations: 62.28 MB / 4.118 GB, free: 149.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/11.51, allocations: 8.486 MB / 4.126 GB, free: 149.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01206/11.53, allocations: 9.406 MB / 4.135 GB, free: 149.4 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06523/11.59, allocations: 29.53 MB / 4.164 GB, free: 142.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01363/11.6, allocations: 7.366 MB / 4.171 GB, free: 142 MB / 1.214 GB Notification: Performance of pre-optimization done (n=301): time 8.937e-06/11.6, allocations: 0 / 4.171 GB, free: 142 MB / 1.214 GB Notification: Performance of matching and sorting (n=301): time 0.03456/11.64, allocations: 14.96 MB / 4.186 GB, free: 141.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/11.64, allocations: 85.78 kB / 4.186 GB, free: 141.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/11.66, allocations: 6.677 MB / 4.192 GB, free: 140.9 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002187/11.66, allocations: 33.14 kB / 4.192 GB, free: 140.9 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.004848/11.66, allocations: 2.579 MB / 4.195 GB, free: 139.5 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004804/11.67, allocations: 1.044 MB / 4.196 GB, free: 138.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/11.67, allocations: 0 / 4.196 GB, free: 138.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0003547/11.67, allocations: 498.8 kB / 4.196 GB, free: 138.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007539/11.68, allocations: 6.248 MB / 4.203 GB, free: 138.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009675/11.69, allocations: 8.024 MB / 4.21 GB, free: 136.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/11.7, allocations: 7.321 MB / 4.218 GB, free: 136.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-05/11.7, allocations: 15.59 kB / 4.218 GB, free: 136.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03449/11.73, allocations: 16.76 MB / 4.234 GB, free: 135.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.005744/11.74, allocations: 24.63 MB / 4.258 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001955/11.74, allocations: 51.69 kB / 4.258 GB, free: 109.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/11.74, allocations: 1.606 MB / 4.26 GB, free: 109.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009165/11.75, allocations: 1.577 MB / 4.261 GB, free: 109.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008507/11.76, allocations: 4.648 MB / 4.266 GB, free: 107.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/11.78, allocations: 0.701 MB / 4.266 GB, free: 107.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003475/11.78, allocations: 0.5416 MB / 4.267 GB, free: 107.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/11.78, allocations: 3.719 kB / 4.267 GB, free: 107.6 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03599/11.82, allocations: 15.91 MB / 4.282 GB, free: 105.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/11.82, allocations: 45.72 kB / 4.282 GB, free: 105.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004819/11.82, allocations: 1.469 MB / 4.284 GB, free: 104.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009577/11.83, allocations: 1.581 MB / 4.285 GB, free: 104.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/11.85, allocations: 7.87 MB / 4.293 GB, free: 100.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/11.86, allocations: 0.595 MB / 4.294 GB, free: 99.95 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003294/11.86, allocations: 0.5465 MB / 4.294 GB, free: 99.91 MB / 1.214 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004426/11.87, allocations: 261.2 kB / 4.294 GB, free: 99.75 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004822/11.87, allocations: 0.7076 MB / 4.295 GB, free: 99.38 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04003/11.91, allocations: 14.46 MB / 4.309 GB, free: 93.83 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.467e-05/11.91, allocations: 33.84 kB / 4.309 GB, free: 93.83 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/11.91, allocations: 0.8438 kB / 4.309 GB, free: 93.83 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02135/11.93, allocations: 10.33 MB / 4.319 GB, free: 89.18 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05319/11.99, allocations: 23.33 MB / 4.342 GB, free: 78.19 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/11.99, allocations: 0.5938 kB / 4.342 GB, free: 78.19 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005893/11.99, allocations: 0.692 MB / 4.343 GB, free: 77.68 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/11.99, allocations: 0.8078 MB / 4.344 GB, free: 76.98 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/12, allocations: 62.62 kB / 4.344 GB, free: 76.93 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/12, allocations: 3.398 MB / 4.347 GB, free: 73.71 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/12, allocations: 4 kB / 4.347 GB, free: 73.71 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02931/12.03, allocations: 18.65 MB / 4.365 GB, free: 56.71 MB / 1.214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03619/12.07, allocations: 26.55 MB / 4.391 GB, free: 32.37 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009143/12.08, allocations: 1.978 MB / 4.393 GB, free: 30.71 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004756/12.08, allocations: 27.8 kB / 4.393 GB, free: 30.69 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/12.09, allocations: 334.6 kB / 4.393 GB, free: 30.44 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/12.09, allocations: 196.3 kB / 4.394 GB, free: 30.33 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001571/12.09, allocations: 159.7 kB / 4.394 GB, free: 30.21 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.01264/12.11, allocations: 5.082 MB / 4.399 GB, free: 25.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03011/12.14, allocations: 5.044 MB / 4.404 GB, free: 20.86 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004461/12.14, allocations: 1.171 MB / 4.405 GB, free: 19.92 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.03967/12.18, allocations: 23.22 MB / 4.428 GB, free: 15.96 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/12.18, allocations: 11.78 kB / 4.428 GB, free: 15.95 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/12.19, allocations: 6.117 MB / 4.434 GB, free: 10.27 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02605/12.22, allocations: 3.816 MB / 4.437 GB, free: 7.469 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05234/12.27, allocations: 17.68 MB / 4.455 GB, free: 7.961 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01428/12.28, allocations: 6.601 MB / 4.461 GB, free: 3.133 MB / 1.245 GB Notification: Performance of SimCode: time 1.503e-06/12.28, allocations: 0 / 4.461 GB, free: 3.133 MB / 1.245 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)