Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.2/2.2, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.00248/0.00248, allocations: 192.7 kB / 315.1 MB, free: 4.285 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.121/2.121, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001319/0.001318, allocations: 87.39 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5131/0.5145, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.7511, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7571/1.508, allocations: 131 MB / 1.011 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.509, allocations: 73 kB / 1.012 GB, free: 9.051 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.002757/1.511, allocations: 0.7083 MB / 1.012 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.511, allocations: 12 kB / 1.012 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/1.512, allocations: 3.906 kB / 1.012 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/1.512, allocations: 188.8 kB / 1.012 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/1.512, allocations: 0 / 1.012 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.512, allocations: 4 kB / 1.012 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001701/1.512, allocations: 49.47 kB / 1.012 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/1.512, allocations: 67.17 kB / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.512, allocations: 0 / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/1.512, allocations: 0 / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.512, allocations: 0 / 1.013 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009002/1.513, allocations: 451.8 kB / 1.013 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/1.513, allocations: 165.1 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/1.513, allocations: 83.39 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/1.513, allocations: 87.28 kB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/1.514, allocations: 109.8 kB / 1.013 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/1.514, allocations: 0 / 1.013 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.534e-05/1.514, allocations: 33.64 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/1.514, allocations: 51.41 kB / 1.013 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.514, allocations: 115.3 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.514, allocations: 25.7 kB / 1.014 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/1.514, allocations: 102 kB / 1.014 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/1.514, allocations: 4 kB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.514, allocations: 0 / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.514, allocations: 314 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/1.514, allocations: 7.984 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/1.514, allocations: 11.31 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/1.514, allocations: 7.984 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.514, allocations: 0 / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001638/1.514, allocations: 53.09 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.514, allocations: 12.09 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.514, allocations: 0.75 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.515, allocations: 7.609 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/1.515, allocations: 4 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/1.515, allocations: 3.984 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/1.515, allocations: 0 / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.515, allocations: 4 kB / 1.014 GB, free: 6.34 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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 0.0001203/1.515, allocations: 176.3 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/1.515, allocations: 112.9 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/1.515, allocations: 112.1 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.207e-05/1.515, allocations: 184.2 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.011e-05/1.515, allocations: 180.3 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.689e-05/1.515, allocations: 176.3 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/1.516, allocations: 400.1 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/1.516, allocations: 109 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/1.516, allocations: 101 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.727e-05/1.516, allocations: 184.2 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.516, allocations: 176.3 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.748e-05/1.516, allocations: 180.2 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.135e-05/1.516, allocations: 184.6 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002347/1.516, allocations: 316.2 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003001/1.517, allocations: 0.6718 MB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/1.517, allocations: 186 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/1.517, allocations: 176.3 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.517, allocations: 112.2 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/1.517, allocations: 180.2 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/1.517, allocations: 101 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001116/1.517, allocations: 98.64 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001142/1.518, allocations: 19.84 kB / 1.018 GB, free: 2.066 MB / 0.6355 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.0002016/1.519, allocations: 170.5 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/1.519, allocations: 12.34 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.519, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/1.519, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.519, allocations: 0.5279 MB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/1.52, allocations: 154.7 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.52, allocations: 0.7033 MB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/1.52, allocations: 0 / 1.02 GB, free: 456 kB / 0.6355 GB