Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",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.7749/0.7749, allocations: 127.4 MB / 134.6 MB, free: 4.074 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.001269/0.001269, allocations: 181.3 kB / 164.4 MB, free: 6.891 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.918/1.918, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001296/0.001296, allocations: 87.62 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3564/0.3578, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.5536, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.761, allocations: 389.3 MB / 1.001 GB, free: 93.05 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.761, allocations: 95.31 kB / 1.001 GB, free: 93.01 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: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 5.391/7.152, allocations: 1.323 GB / 2.324 GB, free: 30.87 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001074/7.152, allocations: 8 kB / 2.324 GB, free: 30.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/7.158, allocations: 0.6008 MB / 2.325 GB, free: 30.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/7.176, allocations: 4.522 MB / 2.329 GB, free: 25.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/7.176, allocations: 51.94 kB / 2.329 GB, free: 25.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008661/7.177, allocations: 112 kB / 2.329 GB, free: 25.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003147/7.18, allocations: 1.627 MB / 2.331 GB, free: 23.97 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/7.183, allocations: 1.826 MB / 2.333 GB, free: 22.01 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/7.183, allocations: 11.84 kB / 2.333 GB, free: 22 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/7.183, allocations: 4 kB / 2.333 GB, free: 21.99 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/7.183, allocations: 47.88 kB / 2.333 GB, free: 21.95 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01718/7.2, allocations: 11.69 MB / 2.344 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/7.202, allocations: 1.184 MB / 2.345 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/7.203, allocations: 0.9009 MB / 2.346 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006374/7.21, allocations: 3.046 MB / 2.349 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/7.211, allocations: 0.6918 MB / 2.35 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=95): time 5.621e-06/7.211, allocations: 0 / 2.35 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95): time 0.4355/7.646, allocations: 3.629 MB / 2.354 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/7.646, allocations: 118.8 kB / 2.354 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/7.65, allocations: 2.225 MB / 2.356 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004781/7.651, allocations: 30.11 kB / 2.356 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/7.652, allocations: 0.855 MB / 2.357 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/7.652, allocations: 325 kB / 2.357 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/7.652, allocations: 3.5 kB / 2.357 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001031/7.652, allocations: 363 kB / 2.357 GB, free: 127.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/7.653, allocations: 0.6887 MB / 2.358 GB, free: 127.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/7.655, allocations: 1.43 MB / 2.359 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/7.657, allocations: 0.9688 MB / 2.36 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/7.657, allocations: 9.656 kB / 2.36 GB, free: 126.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01888/7.676, allocations: 3.776 MB / 2.364 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002472/7.678, allocations: 6.017 MB / 2.37 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/7.678, allocations: 17.19 kB / 2.37 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/7.681, allocations: 0.7755 MB / 2.371 GB, free: 120.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/7.683, allocations: 290.8 kB / 2.371 GB, free: 120.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009069/7.692, allocations: 2.898 MB / 2.374 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/7.699, allocations: 271.4 kB / 2.374 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/7.7, allocations: 98.53 kB / 2.374 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/7.7, allocations: 5.531 kB / 2.374 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006902/7.707, allocations: 2.054 MB / 2.376 GB, free: 119 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/7.707, allocations: 21.69 kB / 2.376 GB, free: 119 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/7.708, allocations: 409.7 kB / 2.377 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/7.71, allocations: 282 kB / 2.377 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009279/7.719, allocations: 5.376 MB / 2.382 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/7.723, allocations: 192.6 kB / 2.382 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/7.724, allocations: 74.88 kB / 2.382 GB, free: 116.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (132): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008698/7.725, allocations: 158.3 kB / 2.383 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008613/7.726, allocations: 276.2 kB / 2.383 GB, free: 116 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/7.747, allocations: 3.469 MB / 2.386 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/7.747, allocations: 11.62 kB / 2.386 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/7.747, allocations: 0 / 2.386 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01492/7.762, allocations: 3.084 MB / 2.389 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005/7.767, allocations: 1.946 MB / 2.391 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/7.767, allocations: 2.938 kB / 2.391 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/7.768, allocations: 169.1 kB / 2.391 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/7.77, allocations: 0.7281 MB / 2.392 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/7.77, allocations: 35.25 kB / 2.392 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/7.799, allocations: 9.891 MB / 2.402 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/7.799, allocations: 3.906 kB / 2.402 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01782/7.817, allocations: 4.158 MB / 2.406 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01877/7.836, allocations: 5.628 MB / 2.411 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/7.838, allocations: 0.5038 MB / 2.412 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/7.839, allocations: 0 / 2.412 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/7.841, allocations: 173.9 kB / 2.412 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/7.841, allocations: 87.03 kB / 2.412 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/7.841, allocations: 54.05 kB / 2.412 GB, free: 111.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002523/7.844, allocations: 1.698 MB / 2.414 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007819/7.851, allocations: 1.724 MB / 2.415 GB, free: 111.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (80): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/7.854, allocations: 1.053 MB / 2.416 GB, free: 111 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006926/7.861, allocations: 3.134 MB / 2.419 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/7.861, allocations: 3.25 kB / 2.419 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/7.864, allocations: 1.257 MB / 2.421 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/7.869, allocations: 1.026 MB / 2.422 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/7.883, allocations: 4.718 MB / 2.426 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/7.885, allocations: 2.339 MB / 2.429 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of SimCode: time 7.92e-07/7.885, allocations: 0 / 2.429 GB, free: 108.8 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)