Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Limiter,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.32/2.32, allocations: 248.6 MB / 255.9 MB, free: 7.09 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.002641/0.00264, allocations: 180.1 kB / 315.1 MB, free: 4.281 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.956/1.956, 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.001445/0.001444, allocations: 105 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.479/0.4805, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.6955, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6758/1.371, allocations: 131.4 MB / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004095/1.372, allocations: 69.64 kB / 1.012 GB, free: 8.664 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005258/1.377, allocations: 0.8506 MB / 1.013 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.377, allocations: 15.94 kB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/1.377, allocations: 0 / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.377, allocations: 167 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.377, allocations: 0 / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.377, allocations: 0 / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/1.378, allocations: 21.05 kB / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/1.378, allocations: 37.69 kB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.378, allocations: 0 / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/1.378, allocations: 0 / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.378, allocations: 4 kB / 1.013 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/1.378, allocations: 255.8 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/1.378, allocations: 33.64 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/1.379, allocations: 23.59 kB / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/1.379, allocations: 0 / 1.013 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/1.379, allocations: 30.56 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/1.379, allocations: 0 / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000217/1.379, allocations: 48.11 kB / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/1.379, allocations: 51.41 kB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/1.379, allocations: 100.9 kB / 1.013 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/1.379, allocations: 29.7 kB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/1.379, allocations: 80.14 kB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.379, allocations: 7.844 kB / 1.014 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/1.379, allocations: 0 / 1.014 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.379, allocations: 314.7 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/1.379, allocations: 11.42 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/1.379, allocations: 24.97 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/1.379, allocations: 4 kB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.379, allocations: 0 / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001388/1.38, allocations: 56.72 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/1.38, allocations: 89 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.38, allocations: 0 / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.38, allocations: 0 / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.38, allocations: 24.11 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.38, allocations: 0 / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/1.38, allocations: 27.92 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/1.38, allocations: 0 / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.38, allocations: 4 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.878e-05/1.38, allocations: 27.16 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/1.38, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/1.38, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.38, allocations: 19.88 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/1.38, allocations: 0 / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.381, allocations: 15.98 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/1.381, allocations: 0 / 1.014 GB, free: 6.246 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 (2): * Single equations (assignments): 2 * 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.373e-05/1.381, allocations: 103.9 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/1.381, allocations: 7.906 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/1.381, allocations: 19.55 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.381, allocations: 0 / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.381, allocations: 0 / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.381, allocations: 0 / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/1.381, allocations: 142.1 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.381, allocations: 0 / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/1.381, allocations: 19.98 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.381, allocations: 0 / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/1.381, allocations: 6.781 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.381, allocations: 4 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.381, allocations: 3.938 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/1.382, allocations: 138.7 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002655/1.382, allocations: 0.514 MB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.382, allocations: 81.02 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/1.382, allocations: 0 / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/1.382, allocations: 20.02 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/1.382, allocations: 4.875 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.382, allocations: 0 / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.416e-05/1.382, allocations: 83.27 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002037/1.384, allocations: 11.91 kB / 1.015 GB, free: 5.027 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 (2): * Single equations (assignments): 2 * 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.0001927/1.385, allocations: 110.9 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000228/1.385, allocations: 23.69 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.385, allocations: 4.125 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/1.385, allocations: 11.86 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/1.385, allocations: 6.328 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/1.386, allocations: 87.48 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.386, allocations: 0.6971 MB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/1.386, allocations: 3.938 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB