Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.348/2.348, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001651/0.00165, allocations: 194.8 kB / 315.1 MB, free: 4.254 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/2, allocations: 205.1 MB / 0.5658 GB, free: 304 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.001304/0.001303, allocations: 99.25 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4827/0.484, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.7236, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6865/1.41, allocations: 131 MB / 1.011 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.41, allocations: 67.08 kB / 1.012 GB, free: 9.086 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.002652/1.413, allocations: 0.7929 MB / 1.012 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.413, allocations: 8 kB / 1.012 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/1.413, allocations: 7.906 kB / 1.012 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/1.413, allocations: 185.4 kB / 1.012 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/1.414, allocations: 8 kB / 1.012 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.414, allocations: 0 / 1.012 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001456/1.414, allocations: 42.59 kB / 1.013 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.414, allocations: 69.11 kB / 1.013 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.414, allocations: 0 / 1.013 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.414, allocations: 0 / 1.013 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.414, allocations: 4 kB / 1.013 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/1.415, allocations: 454.9 kB / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/1.415, allocations: 165.1 kB / 1.013 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/1.415, allocations: 80.14 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/1.415, allocations: 87.05 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.415, allocations: 117.7 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/1.415, allocations: 0 / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.547e-05/1.415, allocations: 33.62 kB / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/1.415, allocations: 51.41 kB / 1.014 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.415, allocations: 111.3 kB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/1.415, allocations: 25.7 kB / 1.014 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/1.415, allocations: 102.1 kB / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/1.415, allocations: 0 / 1.014 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.415, allocations: 4 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.415, allocations: 318.2 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/1.415, allocations: 4 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/1.415, allocations: 7.984 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/1.415, allocations: 10.67 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.415, allocations: 0 / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001613/1.416, allocations: 53.47 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.416, allocations: 4 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.416, allocations: 4.094 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.416, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/1.416, allocations: 11.75 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/1.416, allocations: 0 / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/1.416, allocations: 4 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/1.416, allocations: 0 / 1.014 GB, free: 6.309 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.0001291/1.416, allocations: 184.2 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.416, allocations: 104.9 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/1.416, allocations: 112.5 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/1.416, allocations: 183.6 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.073e-05/1.417, allocations: 176.3 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.187e-05/1.417, allocations: 180.2 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/1.417, allocations: 399.9 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-05/1.417, allocations: 109 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/1.417, allocations: 105 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-05/1.417, allocations: 180.2 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/1.417, allocations: 176.3 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.555e-05/1.417, allocations: 176.3 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.26e-05/1.417, allocations: 184.5 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001557/1.418, allocations: 320.1 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002853/1.418, allocations: 0.6674 MB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/1.418, allocations: 190.1 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/1.418, allocations: 183.3 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/1.418, allocations: 101 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/1.418, allocations: 180.3 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/1.418, allocations: 108.9 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001014/1.419, allocations: 97.59 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001175/1.42, allocations: 11.84 kB / 1.018 GB, free: 2.039 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.0002034/1.42, allocations: 178.5 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/1.42, allocations: 11.8 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.42, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/1.42, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/1.421, allocations: 0.5225 MB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/1.421, allocations: 161.2 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/1.421, allocations: 0.7036 MB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/1.421, allocations: 0 / 1.02 GB, free: 420 kB / 0.6355 GB