Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7652/0.7652, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.001211, allocations: 189.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 82.38 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3556/0.3568, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.5692, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.822, allocations: 389.6 MB / 1.001 GB, free: 89.82 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/1.822, allocations: 93.81 kB / 1.002 GB, free: 89.78 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 9.586/11.41, allocations: 2.304 GB / 3.306 GB, free: 45.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/11.41, allocations: 9.906 kB / 3.306 GB, free: 45.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/11.42, allocations: 1.308 MB / 3.307 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0519/11.47, allocations: 14.82 MB / 3.321 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007747/11.47, allocations: 180.3 kB / 3.321 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004305/11.48, allocations: 351.8 kB / 3.322 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03314/11.51, allocations: 18.07 MB / 3.339 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/11.55, allocations: 12.73 MB / 3.352 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006214/11.55, allocations: 21.69 kB / 3.352 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003941/11.56, allocations: 11.5 kB / 3.352 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003612/11.56, allocations: 141.6 kB / 3.352 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1464/11.7, allocations: 62.99 MB / 3.414 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/11.71, allocations: 8.204 MB / 3.422 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01489/11.73, allocations: 9.233 MB / 3.431 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5113/12.24, allocations: 27.38 MB / 3.457 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01332/12.25, allocations: 7.347 MB / 3.465 GB, free: 120.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=278): time 9.477e-06/12.25, allocations: 0 / 3.465 GB, free: 120.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=278): time 0.05666/12.31, allocations: 16.47 MB / 3.481 GB, free: 120 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/12.31, allocations: 138.4 kB / 3.481 GB, free: 119.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02119/12.33, allocations: 6.391 MB / 3.487 GB, free: 119.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.003423/12.34, allocations: 32.89 kB / 3.487 GB, free: 119.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006353/12.34, allocations: 2.588 MB / 3.49 GB, free: 118.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.005791/12.35, allocations: 0.9737 MB / 3.49 GB, free: 118.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/12.35, allocations: 0 / 3.49 GB, free: 118.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0006569/12.35, allocations: 483.5 kB / 3.491 GB, free: 118.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01154/12.36, allocations: 6.264 MB / 3.497 GB, free: 118.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/12.38, allocations: 8.126 MB / 3.505 GB, free: 115.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/12.39, allocations: 7.297 MB / 3.512 GB, free: 115.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/12.39, allocations: 17.28 kB / 3.512 GB, free: 115.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.0607/12.45, allocations: 18.03 MB / 3.53 GB, free: 115.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.009338/12.46, allocations: 26.95 MB / 3.556 GB, free: 87.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003221/12.46, allocations: 52.88 kB / 3.556 GB, free: 87.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/12.47, allocations: 1.941 MB / 3.558 GB, free: 87.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009835/12.48, allocations: 1.531 MB / 3.559 GB, free: 87.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/12.5, allocations: 5.701 MB / 3.565 GB, free: 85.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/12.51, allocations: 0.6869 MB / 3.566 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003886/12.52, allocations: 0.5544 MB / 3.566 GB, free: 85.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/12.52, allocations: 3.406 kB / 3.566 GB, free: 85.34 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04434/12.56, allocations: 15.9 MB / 3.582 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000319/12.56, allocations: 57.31 kB / 3.582 GB, free: 85.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/12.57, allocations: 1.48 MB / 3.583 GB, free: 85.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/12.58, allocations: 1.528 MB / 3.585 GB, free: 85.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/12.59, allocations: 7.875 MB / 3.592 GB, free: 81.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0152/12.61, allocations: 0.5416 MB / 3.593 GB, free: 81.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003562/12.61, allocations: 0.5346 MB / 3.594 GB, free: 81.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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 (503): * Single equations (assignments): 498 * 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 {2 5,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005497/12.62, allocations: 269.2 kB / 3.594 GB, free: 81.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006/12.62, allocations: 0.6876 MB / 3.594 GB, free: 81.22 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04823/12.67, allocations: 15.33 MB / 3.609 GB, free: 80.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/12.67, allocations: 34.59 kB / 3.609 GB, free: 80.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/12.67, allocations: 3.906 kB / 3.609 GB, free: 80.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0312/12.7, allocations: 11.23 MB / 3.62 GB, free: 80.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/12.72, allocations: 10.58 MB / 3.631 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.862e-05/12.72, allocations: 0 / 3.631 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006042/12.73, allocations: 0.5724 MB / 3.631 GB, free: 76.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/12.73, allocations: 1.141 MB / 3.632 GB, free: 76.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001551/12.73, allocations: 79.55 kB / 3.633 GB, free: 76.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04019/12.77, allocations: 11.36 MB / 3.644 GB, free: 71.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/12.77, allocations: 0 / 3.644 GB, free: 71.09 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0446/12.82, allocations: 19.22 MB / 3.662 GB, free: 62.66 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05392/12.87, allocations: 27.09 MB / 3.689 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007728/12.88, allocations: 1.92 MB / 3.691 GB, free: 45.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003598/12.88, allocations: 18.84 kB / 3.691 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009433/12.89, allocations: 343.8 kB / 3.691 GB, free: 45.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009613/12.89, allocations: 187.8 kB / 3.691 GB, free: 45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008215/12.89, allocations: 158.7 kB / 3.691 GB, free: 44.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.008468/12.9, allocations: 4.877 MB / 3.696 GB, free: 40.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02946/12.93, allocations: 5.032 MB / 3.701 GB, free: 35.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (279): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {2 5,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003663/12.94, allocations: 1.181 MB / 3.702 GB, free: 34.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04383/12.98, allocations: 23.38 MB / 3.725 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/12.98, allocations: 3.516 kB / 3.725 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/13, allocations: 6.798 MB / 3.732 GB, free: 8.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0223/13.02, allocations: 3.811 MB / 3.735 GB, free: 5.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4775/13.5, allocations: 17.99 MB / 3.753 GB, free: 113.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01421/13.51, allocations: 6.507 MB / 3.759 GB, free: 112.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/13.51, allocations: 2.25 kB / 3.759 GB, free: 112.7 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)