Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.203/2.203, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 183.6 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 87.33 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4744/0.4758, allocations: 112.4 MB / 0.7797 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.6888, allocations: 106.3 MB / 0.8835 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.316/7.005, allocations: 2.493 GB / 3.376 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/7.005, allocations: 87.95 kB / 3.377 GB, free: 245.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 6.356/13.36, allocations: 1.3 GB / 4.676 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/13.36, allocations: 7.812 kB / 4.676 GB, free: 83.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/13.37, allocations: 0.6031 MB / 4.677 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02788/13.4, allocations: 4.742 MB / 4.681 GB, free: 82.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/13.4, allocations: 73.34 kB / 4.682 GB, free: 82.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/13.4, allocations: 154 kB / 4.682 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009295/13.41, allocations: 2.454 MB / 4.684 GB, free: 82.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/13.42, allocations: 2.774 MB / 4.687 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/13.42, allocations: 7.438 kB / 4.687 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008146/13.42, allocations: 3.969 kB / 4.687 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/13.42, allocations: 106.2 kB / 4.687 GB, free: 82.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/13.45, allocations: 12.93 MB / 4.7 GB, free: 76.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/13.46, allocations: 1.856 MB / 4.701 GB, free: 76.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/13.46, allocations: 1.08 MB / 4.702 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/13.48, allocations: 4.093 MB / 4.706 GB, free: 75.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003989/13.48, allocations: 0.9561 MB / 4.707 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=143): time 1.015e-05/13.48, allocations: 0 / 4.707 GB, free: 75.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147): time 0.03416/13.52, allocations: 4.889 MB / 4.712 GB, free: 74.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/13.52, allocations: 123.8 kB / 4.712 GB, free: 74.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009974/13.53, allocations: 2.431 MB / 4.715 GB, free: 73.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008378/13.53, allocations: 29.52 kB / 4.715 GB, free: 73.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/13.53, allocations: 1.012 MB / 4.716 GB, free: 73.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/13.53, allocations: 0.4949 MB / 4.716 GB, free: 73.01 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/13.53, allocations: 0 / 4.716 GB, free: 73.01 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003645/13.53, allocations: 397.4 kB / 4.716 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004112/13.54, allocations: 0.9306 MB / 4.717 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005021/13.54, allocations: 1.56 MB / 4.719 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007648/13.55, allocations: 1.311 MB / 4.72 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-05/13.55, allocations: 7.75 kB / 4.72 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01724/13.57, allocations: 3.006 MB / 4.723 GB, free: 71.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002185/13.57, allocations: 7.058 MB / 4.73 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/13.57, allocations: 18.75 kB / 4.73 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/13.57, allocations: 282 kB / 4.73 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006384/13.58, allocations: 498.5 kB / 4.731 GB, free: 64.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/13.59, allocations: 2.588 MB / 4.733 GB, free: 62.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008388/13.6, allocations: 161.8 kB / 4.733 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/13.6, allocations: 111.1 kB / 4.734 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/13.6, allocations: 3.906 kB / 4.734 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01519/13.61, allocations: 2.555 MB / 4.736 GB, free: 62.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/13.61, allocations: 14.84 kB / 4.736 GB, free: 62.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/13.62, allocations: 291.1 kB / 4.736 GB, free: 62.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/13.62, allocations: 487.7 kB / 4.737 GB, free: 62.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/13.63, allocations: 2.589 MB / 4.739 GB, free: 60.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/13.64, allocations: 139.5 kB / 4.739 GB, free: 60.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/13.64, allocations: 110.2 kB / 4.74 GB, free: 60.56 MB / 0.8698 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.001321/13.64, allocations: 174.3 kB / 4.74 GB, free: 60.44 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/13.64, allocations: 288.2 kB / 4.74 GB, free: 60.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/13.66, allocations: 2.505 MB / 4.742 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.33e-05/13.66, allocations: 20.81 kB / 4.742 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/13.66, allocations: 0 / 4.742 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009995/13.67, allocations: 2.116 MB / 4.745 GB, free: 59.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/13.69, allocations: 4.997 MB / 4.749 GB, free: 59.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/13.69, allocations: 0 / 4.749 GB, free: 59.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004354/13.69, allocations: 282.8 kB / 4.75 GB, free: 59.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/13.7, allocations: 323 kB / 4.75 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004722/13.7, allocations: 31.42 kB / 4.75 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009038/13.71, allocations: 8.589 MB / 4.758 GB, free: 51.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/13.71, allocations: 9.734 kB / 4.758 GB, free: 51.97 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0111/13.72, allocations: 3.553 MB / 4.762 GB, free: 51.38 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01621/13.73, allocations: 5.22 MB / 4.767 GB, free: 50.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/13.74, allocations: 0.638 MB / 4.768 GB, free: 50.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/13.74, allocations: 13.47 kB / 4.768 GB, free: 50.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004405/13.74, allocations: 103.5 kB / 4.768 GB, free: 50.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/13.74, allocations: 97.38 kB / 4.768 GB, free: 50.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003296/13.74, allocations: 71.66 kB / 4.768 GB, free: 50.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.005198/13.75, allocations: 1.813 MB / 4.77 GB, free: 50 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0148/13.76, allocations: 2.173 MB / 4.772 GB, free: 49.91 MB / 0.8698 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.005471/13.77, allocations: 2.108 MB / 4.774 GB, free: 49.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01296/13.78, allocations: 3.934 MB / 4.778 GB, free: 49.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/13.78, allocations: 448 / 4.778 GB, free: 49.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/13.79, allocations: 1.594 MB / 4.779 GB, free: 48.48 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/13.8, allocations: 1.382 MB / 4.781 GB, free: 48.44 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/13.82, allocations: 5.514 MB / 4.786 GB, free: 47.35 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006486/13.83, allocations: 2.758 MB / 4.789 GB, free: 46.57 MB / 0.8698 GB Notification: Performance of SimCode: time 1.784e-06/13.83, allocations: 3.188 kB / 4.789 GB, free: 46.57 MB / 0.8698 GB