Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, 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.0009457/0.0009457, allocations: 184.7 kB / 487 MB, free: 5.383 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.116/1.116, allocations: 221.4 MB / 0.7819 GB, free: 1.391 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.000818/0.000818, allocations: 105.3 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4053/0.4061, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.5814, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.03/3.612, allocations: 2.203 GB / 3.409 GB, free: 96.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/3.612, allocations: 91.33 kB / 3.409 GB, free: 96.71 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 3.398/7.01, allocations: 1.348 GB / 4.757 GB, free: 77.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/7.01, allocations: 8 kB / 4.757 GB, free: 77.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/7.014, allocations: 0.6979 MB / 4.757 GB, free: 76.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/7.023, allocations: 4.881 MB / 4.762 GB, free: 71.66 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/7.023, allocations: 72 kB / 4.762 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/7.024, allocations: 147.9 kB / 4.762 GB, free: 71.44 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003443/7.027, allocations: 2.477 MB / 4.765 GB, free: 68.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/7.031, allocations: 2.773 MB / 4.767 GB, free: 66.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/7.031, allocations: 7.938 kB / 4.767 GB, free: 66.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/7.031, allocations: 4 kB / 4.767 GB, free: 66.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/7.031, allocations: 108.2 kB / 4.768 GB, free: 65.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/7.046, allocations: 13.01 MB / 4.78 GB, free: 52.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/7.048, allocations: 1.873 MB / 4.782 GB, free: 50.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/7.049, allocations: 1.1 MB / 4.783 GB, free: 49.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/7.055, allocations: 4.152 MB / 4.787 GB, free: 44.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/7.056, allocations: 0.9794 MB / 4.788 GB, free: 43.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=144): time 2.795e-06/7.056, allocations: 0 / 4.788 GB, free: 43.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=147): time 0.01051/7.067, allocations: 4.847 MB / 4.793 GB, free: 39.03 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/7.067, allocations: 72.7 kB / 4.793 GB, free: 38.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/7.069, allocations: 2.45 MB / 4.795 GB, free: 36.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/7.07, allocations: 29.7 kB / 4.795 GB, free: 36.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/7.07, allocations: 1.008 MB / 4.796 GB, free: 35.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/7.071, allocations: 0.4928 MB / 4.797 GB, free: 34.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/7.071, allocations: 0 / 4.797 GB, free: 34.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001012/7.071, allocations: 390 kB / 4.797 GB, free: 34.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/7.072, allocations: 0.9217 MB / 4.798 GB, free: 33.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/7.073, allocations: 1.527 MB / 4.8 GB, free: 31.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/7.076, allocations: 1.308 MB / 4.801 GB, free: 30.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/7.076, allocations: 8 kB / 4.801 GB, free: 30.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005146/7.081, allocations: 2.98 MB / 4.804 GB, free: 27.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008291/7.082, allocations: 7.077 MB / 4.811 GB, free: 19.87 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/7.082, allocations: 16 kB / 4.811 GB, free: 19.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/7.083, allocations: 289.3 kB / 4.811 GB, free: 19.56 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/7.085, allocations: 0.4953 MB / 4.812 GB, free: 19.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/7.087, allocations: 2.58 MB / 4.814 GB, free: 16.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/7.09, allocations: 171.3 kB / 4.814 GB, free: 16.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/7.091, allocations: 108 kB / 4.814 GB, free: 16.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/7.091, allocations: 8.109 kB / 4.814 GB, free: 16.07 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004175/7.095, allocations: 2.528 MB / 4.817 GB, free: 13.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/7.095, allocations: 23.92 kB / 4.817 GB, free: 13.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/7.096, allocations: 294.3 kB / 4.817 GB, free: 13.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/7.098, allocations: 487.3 kB / 4.818 GB, free: 12.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/7.1, allocations: 2.588 MB / 4.82 GB, free: 10 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/7.103, allocations: 151.5 kB / 4.82 GB, free: 9.855 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/7.103, allocations: 100 kB / 4.82 GB, free: 9.758 MB / 1.151 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 (253): * Single equations (assignments): 250 * Array equations: 1 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004705/7.103, allocations: 172.3 kB / 4.82 GB, free: 9.582 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/7.104, allocations: 288.4 kB / 4.821 GB, free: 9.297 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/7.108, allocations: 2.505 MB / 4.823 GB, free: 6.762 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/7.108, allocations: 20 kB / 4.823 GB, free: 6.742 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/7.108, allocations: 4 kB / 4.823 GB, free: 6.738 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00298/7.111, allocations: 2.113 MB / 4.825 GB, free: 4.539 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3462/7.458, allocations: 5.021 MB / 4.83 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/7.458, allocations: 0 / 4.83 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/7.459, allocations: 274.7 kB / 4.83 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/7.46, allocations: 324.2 kB / 4.831 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/7.46, allocations: 34.92 kB / 4.831 GB, free: 295.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/7.465, allocations: 8.586 MB / 4.839 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.465, allocations: 5.812 kB / 4.839 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00489/7.47, allocations: 3.547 MB / 4.843 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005952/7.476, allocations: 5.191 MB / 4.848 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/7.477, allocations: 0.6449 MB / 4.848 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/7.478, allocations: 18.75 kB / 4.848 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/7.479, allocations: 111.3 kB / 4.848 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/7.48, allocations: 92.03 kB / 4.849 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/7.48, allocations: 72.72 kB / 4.849 GB, free: 286.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002216/7.482, allocations: 1.829 MB / 4.85 GB, free: 286.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006618/7.489, allocations: 2.137 MB / 4.853 GB, free: 286.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.s[1],pumRad.filter.s[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.002561/7.491, allocations: 2.065 MB / 4.855 GB, free: 286.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005212/7.496, allocations: 3.842 MB / 4.858 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/7.496, allocations: 2.297 kB / 4.858 GB, free: 286 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/7.498, allocations: 1.599 MB / 4.86 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/7.504, allocations: 1.371 MB / 4.861 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008542/7.512, allocations: 5.531 MB / 4.867 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/7.514, allocations: 2.752 MB / 4.869 GB, free: 283.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/7.514, allocations: 0 / 4.869 GB, free: 283.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)