Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.SpaceCooling.System1,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",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.142/2.142, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001611/0.00161, allocations: 198.7 kB / 315.1 MB, free: 4.266 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.809/1.809, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001352/0.001352, allocations: 87.33 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4809/0.4823, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.7036, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/6.227, allocations: 2.187 GB / 3.07 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/6.228, allocations: 82.39 kB / 3.07 GB, free: 177.8 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.5178/6.745, allocations: 162.1 MB / 3.229 GB, free: 20.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/6.746, allocations: 12 kB / 3.229 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/6.747, allocations: 143.4 kB / 3.229 GB, free: 20.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/6.748, allocations: 423.1 kB / 3.229 GB, free: 20.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/6.748, allocations: 8 kB / 3.229 GB, free: 20.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.144e-05/6.748, allocations: 16 kB / 3.229 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005453/6.749, allocations: 173 kB / 3.229 GB, free: 19.85 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/6.749, allocations: 253.7 kB / 3.23 GB, free: 19.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/6.749, allocations: 0 / 3.23 GB, free: 19.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/6.749, allocations: 0 / 3.23 GB, free: 19.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/6.749, allocations: 8.5 kB / 3.23 GB, free: 19.58 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/6.752, allocations: 1.261 MB / 3.231 GB, free: 18.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/6.752, allocations: 195 kB / 3.231 GB, free: 18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/6.753, allocations: 76.84 kB / 3.231 GB, free: 17.92 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/6.753, allocations: 4.344 kB / 3.231 GB, free: 17.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/6.753, allocations: 38.47 kB / 3.231 GB, free: 17.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.665e-06/6.753, allocations: 0 / 3.231 GB, free: 17.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001006/6.754, allocations: 226 kB / 3.231 GB, free: 17.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/6.754, allocations: 51.41 kB / 3.231 GB, free: 17.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/6.754, allocations: 243.6 kB / 3.232 GB, free: 17.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/6.754, allocations: 25.7 kB / 3.232 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/6.754, allocations: 164.1 kB / 3.232 GB, free: 17.13 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/6.754, allocations: 70.89 kB / 3.232 GB, free: 17.06 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/6.754, allocations: 0 / 3.232 GB, free: 17.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/6.754, allocations: 342.7 kB / 3.232 GB, free: 16.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/6.755, allocations: 63.94 kB / 3.232 GB, free: 16.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/6.755, allocations: 110.8 kB / 3.232 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/6.755, allocations: 79.27 kB / 3.232 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/6.755, allocations: 0 / 3.232 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004817/6.755, allocations: 217.1 kB / 3.233 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/6.755, allocations: 4 kB / 3.233 GB, free: 16.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/6.756, allocations: 0 / 3.233 GB, free: 16.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/6.756, allocations: 4 kB / 3.233 GB, free: 16.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/6.756, allocations: 47.91 kB / 3.233 GB, free: 16.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/6.756, allocations: 8.125 kB / 3.233 GB, free: 16.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/6.757, allocations: 23.75 kB / 3.233 GB, free: 16.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/6.757, allocations: 4 kB / 3.233 GB, free: 16.14 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.676e-05/6.757, allocations: 112.9 kB / 3.233 GB, free: 16.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/6.757, allocations: 31.62 kB / 3.233 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/6.757, allocations: 34.08 kB / 3.233 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/6.757, allocations: 0 / 3.233 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/6.757, allocations: 4 kB / 3.233 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/6.757, allocations: 3.984 kB / 3.233 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/6.758, allocations: 361.8 kB / 3.233 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/6.758, allocations: 0 / 3.233 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/6.758, allocations: 35.92 kB / 3.233 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/6.758, allocations: 48.81 kB / 3.233 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/6.758, allocations: 0 / 3.233 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/6.76, allocations: 1.369 MB / 3.235 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/6.76, allocations: 0 / 3.235 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007786/6.761, allocations: 392.3 kB / 3.235 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001119/6.762, allocations: 0.8555 MB / 3.236 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/6.762, allocations: 140.6 kB / 3.236 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/6.762, allocations: 3.984 kB / 3.236 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/6.763, allocations: 11.94 kB / 3.236 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/6.763, allocations: 7.984 kB / 3.236 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/6.763, allocations: 8 kB / 3.236 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002808/6.763, allocations: 203 kB / 3.236 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001744/6.765, allocations: 207.8 kB / 3.236 GB, free: 12.12 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/6.766, allocations: 0.8279 MB / 3.237 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004459/6.766, allocations: 144.2 kB / 3.237 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/6.766, allocations: 0 / 3.237 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/6.767, allocations: 177.8 kB / 3.238 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/6.768, allocations: 178.8 kB / 3.238 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/6.77, allocations: 0.5611 MB / 3.238 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/6.771, allocations: 0.8342 MB / 3.239 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/6.771, allocations: 0 / 3.239 GB, free: 9.348 MB / 0.8698 GB