Running: ./testmodel.py --libraries=/home/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 (/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.Integers.Validation.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.478/2.478, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.00236/0.00236, allocations: 187.6 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.181/2.181, allocations: 205.1 MB / 0.5658 GB, free: 440 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.001737/0.001737, allocations: 83.22 kB / 0.67 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4631/0.4649, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.6757, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6958/1.372, allocations: 131.8 MB / 1.012 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/1.372, allocations: 70.2 kB / 1.012 GB, free: 7.945 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.01271/1.385, allocations: 1.548 MB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/1.385, allocations: 8 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.385, allocations: 11.81 kB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/1.385, allocations: 167 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/1.385, allocations: 4 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/1.385, allocations: 4 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003011/1.386, allocations: 53.52 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/1.386, allocations: 79.91 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.386, allocations: 0 / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/1.386, allocations: 0 / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.386, allocations: 0 / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.387, allocations: 313.4 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/1.389, allocations: 96.16 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.389, allocations: 26.42 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/1.389, allocations: 7.938 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/1.389, allocations: 33.62 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 5.931e-06/1.389, allocations: 0 / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007199/1.39, allocations: 84.02 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.39, allocations: 55.41 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/1.39, allocations: 107.7 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/1.39, allocations: 25.7 kB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/1.39, allocations: 91.05 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/1.39, allocations: 19.67 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.39, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.391, allocations: 314.8 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-05/1.391, allocations: 30.55 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-05/1.391, allocations: 16.42 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.77e-05/1.391, allocations: 25.98 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.391, allocations: 3.906 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002766/1.391, allocations: 86.64 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.391, allocations: 4 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.391, allocations: 3.906 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.391, allocations: 4 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/1.392, allocations: 31.97 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.392, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/1.392, allocations: 27.91 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/1.392, allocations: 4 kB / 1.015 GB, free: 4.84 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.0001531/1.392, allocations: 112.9 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/1.392, allocations: 7.844 kB / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/1.393, allocations: 96.08 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.393, allocations: 7.891 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.393, allocations: 4 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.393, allocations: 0 / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/1.393, allocations: 169.4 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.393, allocations: 4 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/1.393, allocations: 27.97 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.393, allocations: 0 / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/1.393, allocations: 11.89 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.393, allocations: 4.75 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/1.393, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00031/1.394, allocations: 184.1 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004229/1.394, allocations: 0.552 MB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/1.394, allocations: 81.02 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/1.394, allocations: 8 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.395, allocations: 23.97 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.395, allocations: 15.17 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.395, allocations: 7.984 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.982e-05/1.395, allocations: 90.66 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001402/1.396, allocations: 23.84 kB / 1.017 GB, free: 3.402 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.0002097/1.396, allocations: 111.2 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002774/1.397, allocations: 53.8 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.397, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.397, allocations: 38.75 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/1.397, allocations: 7.672 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/1.398, allocations: 121 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/1.398, allocations: 0.7075 MB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/1.398, allocations: 0 / 1.018 GB, free: 2.355 MB / 0.6355 GB