Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2",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 8.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 185.2 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9919/0.9919, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 94.12 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1729/0.1737, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.571, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.003/3.574, allocations: 2.375 GB / 3.339 GB, free: 112.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/3.575, allocations: 87.94 kB / 3.339 GB, free: 112.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 3.444/7.018, allocations: 1.33 GB / 4.669 GB, free: 132.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/7.018, allocations: 9.406 kB / 4.669 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/7.022, allocations: 0.6037 MB / 4.67 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00932/7.031, allocations: 4.756 MB / 4.675 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/7.031, allocations: 74 kB / 4.675 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/7.031, allocations: 151.8 kB / 4.675 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00339/7.035, allocations: 2.459 MB / 4.677 GB, free: 131.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/7.038, allocations: 2.796 MB / 4.68 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/7.038, allocations: 7.156 kB / 4.68 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/7.039, allocations: 5.062 kB / 4.68 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/7.039, allocations: 104 kB / 4.68 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/7.052, allocations: 12.95 MB / 4.693 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/7.054, allocations: 1.858 MB / 4.695 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/7.055, allocations: 1.082 MB / 4.696 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005211/7.06, allocations: 4.115 MB / 4.7 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/7.061, allocations: 0.9732 MB / 4.701 GB, free: 124.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 2.845e-06/7.061, allocations: 3.312 kB / 4.701 GB, free: 124.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.009732/7.071, allocations: 4.893 MB / 4.705 GB, free: 123.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/7.071, allocations: 120.8 kB / 4.705 GB, free: 123.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/7.074, allocations: 2.435 MB / 4.708 GB, free: 123 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/7.074, allocations: 32.8 kB / 4.708 GB, free: 123 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/7.074, allocations: 1.011 MB / 4.709 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/7.075, allocations: 0.4921 MB / 4.709 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/7.075, allocations: 0 / 4.709 GB, free: 122.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/7.075, allocations: 395.5 kB / 4.71 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/7.076, allocations: 0.934 MB / 4.711 GB, free: 121.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/7.078, allocations: 1.554 MB / 4.712 GB, free: 121.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/7.08, allocations: 1.332 MB / 4.713 GB, free: 121.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/7.08, allocations: 6.094 kB / 4.713 GB, free: 121.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005059/7.085, allocations: 3.023 MB / 4.716 GB, free: 120.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001107/7.086, allocations: 7.064 MB / 4.723 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/7.086, allocations: 22.03 kB / 4.723 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/7.087, allocations: 282.9 kB / 4.724 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/7.09, allocations: 495.9 kB / 4.724 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/7.092, allocations: 2.583 MB / 4.727 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/7.094, allocations: 161.2 kB / 4.727 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/7.095, allocations: 114.7 kB / 4.727 GB, free: 111.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/7.095, allocations: 11.09 kB / 4.727 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004611/7.099, allocations: 2.565 MB / 4.729 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.604e-05/7.099, allocations: 17.66 kB / 4.729 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/7.1, allocations: 296.7 kB / 4.73 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/7.102, allocations: 477.6 kB / 4.73 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/7.105, allocations: 2.586 MB / 4.733 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/7.107, allocations: 141 kB / 4.733 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/7.107, allocations: 108.1 kB / 4.733 GB, free: 109.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003692/7.107, allocations: 168.4 kB / 4.733 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/7.108, allocations: 291.9 kB / 4.733 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/7.112, allocations: 2.498 MB / 4.736 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/7.112, allocations: 16.19 kB / 4.736 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/7.112, allocations: 2.094 kB / 4.736 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003322/7.116, allocations: 2.122 MB / 4.738 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/7.122, allocations: 5.023 MB / 4.743 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/7.123, allocations: 9.234 kB / 4.743 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/7.124, allocations: 276.2 kB / 4.743 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009555/7.125, allocations: 325.3 kB / 4.743 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/7.125, allocations: 32.7 kB / 4.743 GB, free: 108.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/7.129, allocations: 8.591 MB / 4.752 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.13, allocations: 3.656 kB / 4.752 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004518/7.134, allocations: 3.567 MB / 4.755 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005986/7.14, allocations: 5.229 MB / 4.76 GB, free: 98.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/7.141, allocations: 0.6433 MB / 4.761 GB, free: 98.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004993/7.142, allocations: 24.2 kB / 4.761 GB, free: 98.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/7.143, allocations: 100.3 kB / 4.761 GB, free: 98.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/7.144, allocations: 90.97 kB / 4.761 GB, free: 98.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/7.144, allocations: 75.94 kB / 4.761 GB, free: 98.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00245/7.146, allocations: 1.812 MB / 4.763 GB, free: 97.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006543/7.153, allocations: 2.203 MB / 4.765 GB, free: 96.85 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002907/7.156, allocations: 2.126 MB / 4.767 GB, free: 96.23 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00521/7.161, allocations: 3.937 MB / 4.771 GB, free: 94.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/7.161, allocations: 3.625 kB / 4.771 GB, free: 94.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/7.162, allocations: 1.594 MB / 4.773 GB, free: 93.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005508/7.168, allocations: 1.386 MB / 4.774 GB, free: 93.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/7.178, allocations: 5.518 MB / 4.779 GB, free: 91.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003646/7.182, allocations: 2.757 MB / 4.782 GB, free: 90.31 MB / 0.948 GB Notification: Performance of SimCode: time 3.4e-07/7.182, allocations: 0 / 4.782 GB, free: 90.31 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)