Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",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.369/2.369, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.001793/0.001793, allocations: 180.1 kB / 315.1 MB, free: 4.297 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.858/2.858, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001986/0.001986, allocations: 87.33 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.7014/0.7034, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/1.029, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/2.082, allocations: 131 MB / 1.011 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/2.082, allocations: 70.02 kB / 1.011 GB, free: 9.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002536/2.085, allocations: 0.5419 MB / 1.012 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.085, allocations: 8 kB / 1.012 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/2.085, allocations: 23.86 kB / 1.012 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/2.085, allocations: 159.1 kB / 1.012 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/2.085, allocations: 4 kB / 1.012 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/2.085, allocations: 3.938 kB / 1.012 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.207e-05/2.085, allocations: 0.8438 kB / 1.012 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/2.085, allocations: 37.62 kB / 1.012 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/2.085, allocations: 4 kB / 1.012 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/2.085, allocations: 0 / 1.012 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/2.085, allocations: 0 / 1.012 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/2.086, allocations: 129.7 kB / 1.012 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/2.086, allocations: 18.61 kB / 1.012 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/2.086, allocations: 4.859 kB / 1.012 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/2.086, allocations: 7.969 kB / 1.012 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/2.086, allocations: 38.5 kB / 1.012 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/2.086, allocations: 0 / 1.012 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001584/2.086, allocations: 36.83 kB / 1.012 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/2.086, allocations: 55.41 kB / 1.013 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/2.086, allocations: 85 kB / 1.013 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/2.086, allocations: 28.33 kB / 1.013 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/2.086, allocations: 80.14 kB / 1.013 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/2.086, allocations: 3.906 kB / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/2.086, allocations: 0 / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/2.086, allocations: 314.9 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/2.086, allocations: 3.984 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/2.086, allocations: 4 kB / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.192e-05/2.086, allocations: 0 / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/2.086, allocations: 0 / 1.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.99e-05/2.087, allocations: 37.02 kB / 1.013 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/2.087, allocations: 4 kB / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/2.087, allocations: 0 / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/2.087, allocations: 96 / 1.013 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/2.087, allocations: 11.98 kB / 1.013 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/2.087, allocations: 3.938 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/2.087, allocations: 3.906 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/2.087, allocations: 0 / 1.013 GB, free: 7.41 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 9.056e-05/2.087, allocations: 105 kB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/2.087, allocations: 0 / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/2.087, allocations: 6.953 kB / 1.013 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/2.087, allocations: 7.984 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.087, allocations: 0 / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/2.087, allocations: 0 / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/2.087, allocations: 130.2 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/2.087, allocations: 3.938 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/2.087, allocations: 3.984 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/2.087, allocations: 4 kB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/2.087, allocations: 0 / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/2.087, allocations: 0 / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.087, allocations: 0 / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001138/2.087, allocations: 60.98 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002697/2.088, allocations: 440.7 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/2.088, allocations: 77.11 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/2.088, allocations: 3.984 kB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/2.088, allocations: 14.53 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/2.088, allocations: 0 / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/2.088, allocations: 0 / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.181e-05/2.088, allocations: 79.22 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001879/2.09, allocations: 4 kB / 1.014 GB, free: 6.398 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 (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 Backend phase and start with SimCode phase: time 0.0003316/2.09, allocations: 95.25 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000166/2.091, allocations: 4 kB / 1.014 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/2.091, allocations: 4.062 kB / 1.014 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/2.091, allocations: 3.984 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/2.091, allocations: 3.938 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004739/2.091, allocations: 57.8 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/2.092, allocations: 0.6841 MB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of SimCode: time 1.553e-06/2.092, allocations: 0 / 1.015 GB, free: 5.492 MB / 0.6355 GB