Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.425/2.425, allocations: 253.1 MB / 260.4 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 185.2 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.5704 GB, free: 15.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002868/0.002867, allocations: 94.83 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.1e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7877/1.035, allocations: 131.8 MB / 1.017 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.035, allocations: 70.27 kB / 1.017 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007627/1.043, allocations: 1.156 MB / 1.018 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.379e-05/1.043, allocations: 4 kB / 1.018 GB, free: 5.453 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009322/1.044, allocations: 393.2 kB / 1.018 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.044, allocations: 8.031 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/1.044, allocations: 11.81 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/1.044, allocations: 175 kB / 1.019 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/1.044, allocations: 4 kB / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/1.044, allocations: 4 kB / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/1.044, allocations: 49.64 kB / 1.019 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/1.045, allocations: 72.22 kB / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.045, allocations: 0 / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/1.045, allocations: 4 kB / 1.019 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.045, allocations: 4 kB / 1.019 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/1.045, allocations: 308.2 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/1.046, allocations: 93.59 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/1.046, allocations: 31.3 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/1.046, allocations: 0 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.047, allocations: 38.55 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.047, allocations: 0 / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003867/1.047, allocations: 86.59 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/1.047, allocations: 55.41 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/1.047, allocations: 112.1 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/1.047, allocations: 26.55 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/1.047, allocations: 87.55 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/1.047, allocations: 23.3 kB / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/1.047, allocations: 0 / 1.019 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.047, allocations: 318.8 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/1.048, allocations: 17.44 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/1.048, allocations: 25.86 kB / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.24e-05/1.048, allocations: 18.75 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.048, allocations: 7.906 kB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002868/1.048, allocations: 83.23 kB / 1.02 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.048, allocations: 4 kB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.048, allocations: 3.906 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.048, allocations: 0 / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/1.049, allocations: 35.97 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.049, allocations: 0.875 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/1.049, allocations: 23.91 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/1.049, allocations: 4 kB / 1.02 GB, free: 3.332 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001188/1.049, allocations: 112.1 kB / 1.02 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/1.049, allocations: 7.906 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/1.049, allocations: 98.94 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.05, allocations: 3.906 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.05, allocations: 0 / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.05, allocations: 0 / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/1.05, allocations: 168.9 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.05, allocations: 0 / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/1.05, allocations: 35.97 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.05, allocations: 0 / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/1.05, allocations: 7.891 kB / 1.02 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/1.05, allocations: 8 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.05, allocations: 3.938 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003533/1.051, allocations: 184.5 kB / 1.021 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/1.051, allocations: 81.02 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/1.051, allocations: 4 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/1.051, allocations: 19.98 kB / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.051, allocations: 22.7 kB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.051, allocations: 4 kB / 1.021 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.643e-05/1.051, allocations: 91.62 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003594/1.052, allocations: 24.06 kB / 1.021 GB, free: 2.449 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002019/1.052, allocations: 99.19 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002619/1.052, allocations: 60.67 kB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.052, allocations: 4 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/1.052, allocations: 41.67 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/1.053, allocations: 8.844 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/1.053, allocations: 121 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.054, allocations: 0.7114 MB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/1.054, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of Templates: time 0.005907/1.06, allocations: 1.38 MB / 1.023 GB, free: 36 kB / 0.6355 GB