Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.265/2.265, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 182.9 kB / 315.1 MB, free: 7.793 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.133/2.133, allocations: 205.1 MB / 0.5658 GB, free: 25.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001271, allocations: 83.45 kB / 0.67 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2974/0.2988, allocations: 112.4 MB / 0.7797 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.8242, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/1.058, allocations: 130.4 MB / 1.011 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/1.059, allocations: 75.95 kB / 1.011 GB, free: 10.6 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006381/1.065, allocations: 0.9364 MB / 1.012 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/1.065, allocations: 8 kB / 1.012 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/1.065, allocations: 7.906 kB / 1.012 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/1.066, allocations: 171.1 kB / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/1.066, allocations: 0 / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/1.066, allocations: 0 / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002774/1.066, allocations: 19.94 kB / 1.012 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/1.066, allocations: 45.59 kB / 1.012 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.066, allocations: 0 / 1.012 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/1.066, allocations: 3.938 kB / 1.012 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/1.066, allocations: 3.938 kB / 1.012 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/1.068, allocations: 293.4 kB / 1.012 GB, free: 9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.894e-05/1.068, allocations: 26.58 kB / 1.012 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/1.068, allocations: 12.86 kB / 1.012 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/1.068, allocations: 8.031 kB / 1.012 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.068, allocations: 38.55 kB / 1.012 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/1.068, allocations: 0 / 1.012 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002113/1.068, allocations: 49.7 kB / 1.012 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.068, allocations: 51.41 kB / 1.013 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.068, allocations: 104.9 kB / 1.013 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/1.068, allocations: 25.7 kB / 1.013 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/1.068, allocations: 84.08 kB / 1.013 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/1.068, allocations: 11.91 kB / 1.013 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/1.068, allocations: 0 / 1.013 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.069, allocations: 314.8 kB / 1.013 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/1.069, allocations: 12 kB / 1.013 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/1.069, allocations: 8 kB / 1.013 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/1.069, allocations: 4 kB / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.069, allocations: 0 / 1.013 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001408/1.069, allocations: 61.53 kB / 1.013 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.069, allocations: 4 kB / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.069, allocations: 0 / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.069, allocations: 0 / 1.013 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/1.069, allocations: 23.98 kB / 1.013 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.069, allocations: 0 / 1.013 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/1.069, allocations: 23.98 kB / 1.013 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/1.069, allocations: 0 / 1.013 GB, free: 8.082 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.388e-05/1.069, allocations: 108.9 kB / 1.013 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/1.07, allocations: 4 kB / 1.013 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/1.07, allocations: 4.188 kB / 1.013 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.07, allocations: 3.984 kB / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.07, allocations: 7.906 kB / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.07, allocations: 0 / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.07, allocations: 146.2 kB / 1.013 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.07, allocations: 0 / 1.013 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/1.07, allocations: 23.97 kB / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.07, allocations: 3.938 kB / 1.013 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.07, allocations: 0 / 1.013 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.07, allocations: 11.94 kB / 1.013 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.07, allocations: 0 / 1.013 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00018/1.07, allocations: 143.5 kB / 1.014 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002906/1.071, allocations: 0.5157 MB / 1.014 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/1.071, allocations: 81.02 kB / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/1.071, allocations: 4 kB / 1.014 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.071, allocations: 19.98 kB / 1.014 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/1.071, allocations: 11.98 kB / 1.014 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/1.071, allocations: 0 / 1.014 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001105/1.071, allocations: 91.2 kB / 1.014 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001108/1.072, allocations: 8 kB / 1.014 GB, free: 6.805 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001677/1.072, allocations: 101.3 kB / 1.014 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001406/1.073, allocations: 24 kB / 1.014 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.073, allocations: 2.594 kB / 1.014 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/1.073, allocations: 12 kB / 1.014 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/1.073, allocations: 15.91 kB / 1.014 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/1.074, allocations: 79.55 kB / 1.015 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/1.074, allocations: 0.6973 MB / 1.015 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of SimCode: time 9.51e-07/1.074, allocations: 0 / 1.015 GB, free: 5.828 MB / 0.6667 GB