Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.325/2.325, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.00168/0.00168, allocations: 181.2 kB / 315.1 MB, free: 4.285 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.151/2.151, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001921/0.001921, allocations: 90.53 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5475/0.5495, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.7777, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7419/1.52, allocations: 131.8 MB / 1.012 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.52, allocations: 74.62 kB / 1.012 GB, free: 8.305 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.008735/1.529, allocations: 1.555 MB / 1.014 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.529, allocations: 8 kB / 1.014 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/1.529, allocations: 11.81 kB / 1.014 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.529, allocations: 170.6 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/1.529, allocations: 4 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.529, allocations: 0 / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002144/1.529, allocations: 53.89 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.53, allocations: 79.53 kB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.53, allocations: 0 / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.53, allocations: 0 / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/1.53, allocations: 4 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/1.531, allocations: 311 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/1.532, allocations: 100.2 kB / 1.015 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.532, allocations: 23.67 kB / 1.015 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/1.532, allocations: 0 / 1.015 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.532, allocations: 33.62 kB / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.335e-06/1.532, allocations: 0 / 1.015 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004987/1.532, allocations: 83.14 kB / 1.015 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.532, allocations: 55.41 kB / 1.015 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.533, allocations: 109.8 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/1.533, allocations: 29.64 kB / 1.015 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/1.533, allocations: 91.17 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/1.533, allocations: 16.5 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/1.533, allocations: 0 / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.533, allocations: 322.7 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/1.533, allocations: 22.12 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/1.533, allocations: 22.61 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/1.533, allocations: 18.88 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.533, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003088/1.534, allocations: 88.17 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.534, allocations: 7.938 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.534, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.534, allocations: 3.906 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/1.534, allocations: 31.97 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.534, allocations: 4 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/1.534, allocations: 15.98 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.534, allocations: 7.984 kB / 1.015 GB, free: 5.207 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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.0001084/1.535, allocations: 108.9 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/1.535, allocations: 11.89 kB / 1.016 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/1.535, allocations: 7.625 kB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.535, allocations: 0 / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.535, allocations: 7.906 kB / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.535, allocations: 0 / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/1.535, allocations: 174.4 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.535, allocations: 3.938 kB / 1.016 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/1.535, allocations: 31.97 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.536, allocations: 0 / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.536, allocations: 0 / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.536, allocations: 4 kB / 1.016 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/1.536, allocations: 3.906 kB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004029/1.536, allocations: 196.5 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004425/1.536, allocations: 0.5404 MB / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/1.537, allocations: 85.02 kB / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/1.537, allocations: 0 / 1.017 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/1.537, allocations: 23.97 kB / 1.017 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.537, allocations: 23.72 kB / 1.017 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.537, allocations: 4 kB / 1.017 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.118e-05/1.537, allocations: 95.86 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001745/1.539, allocations: 15.91 kB / 1.017 GB, free: 3.852 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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.0002534/1.539, allocations: 107.3 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003226/1.54, allocations: 59.98 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.54, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/1.54, allocations: 38.05 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/1.54, allocations: 6.234 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/1.541, allocations: 120.5 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/1.541, allocations: 0.7146 MB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/1.541, allocations: 0 / 1.018 GB, free: 2.797 MB / 0.6355 GB