Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.0009366/0.0009366, allocations: 177.3 kB / 316 MB, free: 3.57 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.111/1.111, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000912/0.0009121, allocations: 95.94 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3289/0.3298, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.4922, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/1.015, allocations: 132.2 MB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/1.015, allocations: 80.98 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002347/1.018, allocations: 0.9263 MB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.018, allocations: 12 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/1.018, allocations: 10.72 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/1.018, allocations: 196.8 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/1.018, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/1.018, allocations: 4 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.213e-05/1.018, allocations: 33.42 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/1.018, allocations: 86.56 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.018, allocations: 3.906 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/1.018, allocations: 4 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.018, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/1.019, allocations: 0.6141 MB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/1.019, allocations: 165.1 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/1.019, allocations: 80.14 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/1.019, allocations: 75.28 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/1.019, allocations: 115.3 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.019, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/1.019, allocations: 33.64 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/1.019, allocations: 51.41 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/1.019, allocations: 128.8 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/1.019, allocations: 25.7 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/1.019, allocations: 106.7 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/1.019, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/1.019, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.019, allocations: 322.7 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/1.019, allocations: 7.062 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.837e-05/1.02, allocations: 18.58 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/1.02, allocations: 8.281 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.02, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001137/1.02, allocations: 53.44 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.02, allocations: 6.812 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.02, allocations: 0.875 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.02, allocations: 4 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/1.02, allocations: 4 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/1.02, allocations: 3.906 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/1.02, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/1.02, allocations: 11.88 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/1.02, allocations: 176.3 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/1.02, allocations: 112.9 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/1.02, allocations: 111.8 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/1.02, allocations: 180.2 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/1.02, allocations: 183.8 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.418e-05/1.02, allocations: 176.3 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.02, allocations: 403.8 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/1.02, allocations: 105 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/1.02, allocations: 105 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-05/1.021, allocations: 187.9 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/1.021, allocations: 176.7 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-05/1.021, allocations: 176.3 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-05/1.021, allocations: 192.2 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001097/1.021, allocations: 308.3 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002328/1.021, allocations: 0.6719 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.021, allocations: 186.1 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/1.021, allocations: 180.2 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/1.021, allocations: 101 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/1.021, allocations: 188.2 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/1.021, allocations: 112.9 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.705e-05/1.021, allocations: 94.03 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007563/1.022, allocations: 11.94 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/1.022, allocations: 170.5 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.074e-05/1.022, allocations: 12.23 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.022, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/1.022, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/1.023, allocations: 0.5302 MB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/1.023, allocations: 154.9 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/1.023, allocations: 0.7036 MB / 1.022 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.023, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)