Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7283/0.7283, allocations: 141.8 MB / 149.1 MB, free: 12.61 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 181.7 kB / 182 MB, free: 9.375 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 221.3 MB / 436 MB, free: 1.793 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009958, allocations: 103.7 kB / 0.507 GB, free: 10.62 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 278.1 kB / 0.5885 GB, free: 7.449 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.176/0.1779, allocations: 89.64 MB / 0.676 GB, free: 13.72 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.5773, allocations: 82.77 MB / 0.7568 GB, free: 138.6 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6362/1.214, allocations: 378.2 MB / 1.126 GB, free: 5.168 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.214, allocations: 96.81 kB / 1.126 GB, free: 5.121 MB / 0.6669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 4.653/5.867, allocations: 1.338 GB / 2.465 GB, free: 73.97 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/5.867, allocations: 7.219 kB / 2.465 GB, free: 73.97 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/5.871, allocations: 0.5564 MB / 2.465 GB, free: 73.72 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/5.887, allocations: 4.353 MB / 2.469 GB, free: 71.12 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/5.888, allocations: 52.5 kB / 2.47 GB, free: 71.11 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008954/5.888, allocations: 121.1 kB / 2.47 GB, free: 71.11 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004289/5.893, allocations: 1.632 MB / 2.471 GB, free: 70.32 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/5.897, allocations: 1.845 MB / 2.473 GB, free: 69.12 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.755e-05/5.897, allocations: 3.938 kB / 2.473 GB, free: 69.11 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/5.898, allocations: 7 kB / 2.473 GB, free: 69.11 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/5.898, allocations: 39.81 kB / 2.473 GB, free: 69.11 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/5.916, allocations: 11.55 MB / 2.484 GB, free: 59.33 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/5.918, allocations: 1.203 MB / 2.486 GB, free: 58.76 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/5.919, allocations: 0.9118 MB / 2.486 GB, free: 58.34 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008376/5.927, allocations: 3.36 MB / 2.49 GB, free: 55.52 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/5.929, allocations: 0.6543 MB / 2.49 GB, free: 55.13 MB / 0.745 GB Notification: Performance of pre-optimization done (n=98): time 6.071e-06/5.929, allocations: 0 / 2.49 GB, free: 55.13 MB / 0.745 GB Notification: Performance of matching and sorting (n=98): time 0.006224/5.935, allocations: 2.03 MB / 2.492 GB, free: 54.11 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/5.935, allocations: 61.69 kB / 2.492 GB, free: 54.05 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006833/5.942, allocations: 2.239 MB / 2.495 GB, free: 52.59 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0004328/5.943, allocations: 29.7 kB / 2.495 GB, free: 52.55 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/5.944, allocations: 0.8467 MB / 2.495 GB, free: 51.68 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/5.944, allocations: 335.1 kB / 2.496 GB, free: 51.35 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/5.945, allocations: 0 / 2.496 GB, free: 51.35 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001257/5.945, allocations: 361.9 kB / 2.496 GB, free: 50.99 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/5.946, allocations: 0.5506 MB / 2.497 GB, free: 50.44 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/5.947, allocations: 1.295 MB / 2.498 GB, free: 48.78 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/5.949, allocations: 0.8619 MB / 2.499 GB, free: 47.91 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/5.949, allocations: 4 kB / 2.499 GB, free: 47.91 MB / 0.745 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005652/5.955, allocations: 2.488 MB / 2.501 GB, free: 45.43 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/5.956, allocations: 5.897 MB / 2.507 GB, free: 38.94 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/5.956, allocations: 12 kB / 2.507 GB, free: 38.93 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009942/5.957, allocations: 453.1 kB / 2.507 GB, free: 38.48 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/5.959, allocations: 281.3 kB / 2.508 GB, free: 38.2 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/5.96, allocations: 2.067 MB / 2.51 GB, free: 36.09 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/5.963, allocations: 226.3 kB / 2.51 GB, free: 35.87 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/5.964, allocations: 87.94 kB / 2.51 GB, free: 35.78 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/5.964, allocations: 5.875 kB / 2.51 GB, free: 35.78 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003976/5.968, allocations: 2.06 MB / 2.512 GB, free: 33.7 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/5.968, allocations: 16 kB / 2.512 GB, free: 33.68 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/5.969, allocations: 420.5 kB / 2.512 GB, free: 33.27 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/5.97, allocations: 281.3 kB / 2.513 GB, free: 33 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/5.975, allocations: 5.384 MB / 2.518 GB, free: 27.39 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/5.978, allocations: 191.3 kB / 2.518 GB, free: 27.2 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/5.978, allocations: 75.97 kB / 2.518 GB, free: 27.13 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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.0004915/5.979, allocations: 149.1 kB / 2.518 GB, free: 26.98 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008053/5.98, allocations: 284.3 kB / 2.519 GB, free: 26.7 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/5.985, allocations: 2.356 MB / 2.521 GB, free: 24.37 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/5.985, allocations: 16 kB / 2.521 GB, free: 24.35 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/5.985, allocations: 0 / 2.521 GB, free: 24.35 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002802/5.988, allocations: 1.909 MB / 2.523 GB, free: 22.39 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008256/5.996, allocations: 3.948 MB / 2.527 GB, free: 18.43 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/5.996, allocations: 0 / 2.527 GB, free: 18.43 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/5.997, allocations: 185.3 kB / 2.527 GB, free: 18.25 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/5.998, allocations: 387.6 kB / 2.527 GB, free: 17.87 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/5.998, allocations: 19.98 kB / 2.527 GB, free: 17.85 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/5.999, allocations: 1.916 MB / 2.529 GB, free: 15.88 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/5.999, allocations: 4 kB / 2.529 GB, free: 15.88 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00437/6.004, allocations: 2.906 MB / 2.532 GB, free: 12.95 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005473/6.009, allocations: 4.163 MB / 2.536 GB, free: 8.762 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/6.011, allocations: 497.2 kB / 2.536 GB, free: 8.254 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009121/6.012, allocations: 10.09 kB / 2.536 GB, free: 8.246 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/6.014, allocations: 119.6 kB / 2.537 GB, free: 8.129 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/6.014, allocations: 81.19 kB / 2.537 GB, free: 8.051 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/6.014, allocations: 51.91 kB / 2.537 GB, free: 8 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.003123/6.017, allocations: 1.71 MB / 2.538 GB, free: 6.297 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.008274/6.026, allocations: 1.645 MB / 2.54 GB, free: 4.652 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (84): * Single equations (assignments): 76 * 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: 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.002327/6.028, allocations: 1.044 MB / 2.541 GB, free: 3.723 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.004499/6.032, allocations: 2.715 MB / 2.544 GB, free: 0.9688 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/6.032, allocations: 0 / 2.544 GB, free: 0.9688 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0009981/6.033, allocations: 0.6891 MB / 2.544 GB, free: 292 kB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3176/6.351, allocations: 1.01 MB / 2.545 GB, free: 152.8 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008586/6.36, allocations: 4.061 MB / 2.549 GB, free: 151.9 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/6.362, allocations: 2.354 MB / 2.552 GB, free: 151.2 MB / 0.745 GB Notification: Performance of SimCode: time 1.603e-06/6.362, allocations: 3.562 kB / 2.552 GB, free: 151.2 MB / 0.745 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v1.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)