Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT",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.27/2.27, allocations: 248.6 MB / 255.9 MB, free: 352 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 182.7 kB / 315.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.314/2.314, allocations: 205.1 MB / 0.5658 GB, free: 25.45 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.001211/0.001211, allocations: 86.08 kB / 0.67 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2747/0.276, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.7636, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.9865, allocations: 134.2 MB / 1.015 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.9868, allocations: 83.94 kB / 1.015 GB, free: 6.746 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.02095/1.008, allocations: 4.539 MB / 1.019 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.008, allocations: 8 kB / 1.019 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/1.008, allocations: 27.7 kB / 1.019 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/1.008, allocations: 253.4 kB / 1.019 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/1.009, allocations: 4 kB / 1.019 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/1.009, allocations: 8 kB / 1.019 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002856/1.009, allocations: 79.98 kB / 1.019 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/1.009, allocations: 109.2 kB / 1.02 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.009, allocations: 3.906 kB / 1.02 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/1.009, allocations: 0 / 1.02 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/1.009, allocations: 7.984 kB / 1.02 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/1.011, allocations: 492.7 kB / 1.02 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/1.011, allocations: 130.8 kB / 1.02 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/1.011, allocations: 64.73 kB / 1.02 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/1.011, allocations: 8 kB / 1.02 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/1.011, allocations: 30.56 kB / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.011, allocations: 0 / 1.02 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0003817/1.012, allocations: 120.6 kB / 1.02 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.012, allocations: 51.41 kB / 1.02 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.012, allocations: 131.6 kB / 1.021 GB, free: 496 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.012, allocations: 25.7 kB / 1.021 GB, free: 464 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/1.012, allocations: 124.4 kB / 1.021 GB, free: 336 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/1.012, allocations: 51.2 kB / 1.021 GB, free: 284 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/1.012, allocations: 0 / 1.021 GB, free: 284 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002494/1.012, allocations: 326.8 kB / 1.021 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.013, allocations: 32 kB / 1.021 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/1.013, allocations: 30.81 kB / 1.021 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/1.013, allocations: 39.92 kB / 1.021 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.013, allocations: 0 / 1.021 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003238/1.013, allocations: 129.4 kB / 1.021 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.013, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.013, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.013, allocations: 4 kB / 1.021 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/1.014, allocations: 43.97 kB / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.014, allocations: 4 kB / 1.021 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.014, allocations: 19.89 kB / 1.021 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/1.014, allocations: 4 kB / 1.021 GB, free: 15.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * 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 9.863e-05/1.014, allocations: 104.9 kB / 1.021 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/1.014, allocations: 15.81 kB / 1.021 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/1.014, allocations: 13.47 kB / 1.021 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.014, allocations: 4 kB / 1.021 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.014, allocations: 4 kB / 1.021 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.014, allocations: 3.984 kB / 1.021 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/1.015, allocations: 214 kB / 1.022 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.015, allocations: 4 kB / 1.022 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/1.015, allocations: 47.91 kB / 1.022 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.015, allocations: 0 / 1.022 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.015, allocations: 7.844 kB / 1.022 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.015, allocations: 4 kB / 1.022 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.015, allocations: 0 / 1.022 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005056/1.016, allocations: 269.5 kB / 1.022 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007795/1.016, allocations: 0.6796 MB / 1.023 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.017, allocations: 100.9 kB / 1.023 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/1.017, allocations: 3.906 kB / 1.023 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.017, allocations: 15.98 kB / 1.023 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/1.017, allocations: 11.92 kB / 1.023 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/1.017, allocations: 8 kB / 1.023 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001253/1.017, allocations: 108.9 kB / 1.023 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00121/1.018, allocations: 47.98 kB / 1.023 GB, free: 13.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002835/1.019, allocations: 127.2 kB / 1.023 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003182/1.019, allocations: 99.25 kB / 1.023 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.019, allocations: 0 / 1.023 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.019, allocations: 43.94 kB / 1.023 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/1.02, allocations: 27.89 kB / 1.023 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.021, allocations: 406.4 kB / 1.024 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/1.021, allocations: 0.7589 MB / 1.024 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/1.021, allocations: 0 / 1.024 GB, free: 12.39 MB / 0.6823 GB