Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.391/2.391, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001698/0.001697, allocations: 187.9 kB / 315.1 MB, free: 4.309 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.947/1.947, allocations: 205.1 MB / 0.5658 GB, free: 328 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.001322/0.001321, allocations: 98.38 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.428/0.4293, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.6212, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5976/1.219, allocations: 131.8 MB / 1.012 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.219, allocations: 63.09 kB / 1.012 GB, free: 8.32 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.007983/1.227, allocations: 1.554 MB / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.227, allocations: 8 kB / 1.014 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/1.227, allocations: 15.75 kB / 1.014 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.228, allocations: 167 kB / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/1.228, allocations: 7.875 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/1.228, allocations: 0 / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002089/1.228, allocations: 53.52 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/1.228, allocations: 75.91 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.228, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/1.228, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.228, allocations: 8 kB / 1.014 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/1.229, allocations: 311.6 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008031/1.23, allocations: 94.59 kB / 1.015 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/1.23, allocations: 24.05 kB / 1.015 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/1.23, allocations: 0 / 1.015 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.23, allocations: 42.36 kB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/1.23, allocations: 3.938 kB / 1.015 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000348/1.23, allocations: 75.97 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.23, allocations: 51.41 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/1.231, allocations: 112.8 kB / 1.015 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.231, allocations: 29.7 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/1.231, allocations: 91.72 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/1.231, allocations: 15.75 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.231, allocations: 3.938 kB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.231, allocations: 322.7 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/1.231, allocations: 14.88 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/1.231, allocations: 25.16 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/1.231, allocations: 27.53 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/1.231, allocations: 3.906 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002614/1.231, allocations: 79.25 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.232, allocations: 4 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.232, allocations: 8.594 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.232, allocations: 0 / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/1.232, allocations: 35.34 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/1.232, allocations: 4 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/1.232, allocations: 15.98 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/1.232, allocations: 7.938 kB / 1.015 GB, free: 5.215 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 (min1.u1,min1.u2,min1.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.0001405/1.233, allocations: 104.9 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/1.233, allocations: 11.91 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/1.233, allocations: 95.39 kB / 1.016 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.233, allocations: 3.906 kB / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.233, allocations: 0 / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.233, allocations: 0 / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/1.233, allocations: 173.9 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.233, allocations: 3.984 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/1.234, allocations: 35.97 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.234, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.234, allocations: 3.906 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.234, allocations: 0 / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.234, allocations: 4 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004265/1.234, allocations: 191 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000572/1.235, allocations: 0.5514 MB / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/1.235, allocations: 81.89 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/1.235, allocations: 3.984 kB / 1.017 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/1.235, allocations: 23.97 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.235, allocations: 22.41 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/1.236, allocations: 4 kB / 1.017 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.333e-05/1.236, allocations: 89.78 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001377/1.237, allocations: 19.89 kB / 1.017 GB, free: 3.785 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 (min1.u1,min1.u2,min1.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.0002455/1.237, allocations: 119.2 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002724/1.238, allocations: 52.11 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.238, allocations: 0 / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/1.238, allocations: 41.42 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.238, allocations: 9.828 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/1.239, allocations: 112.6 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/1.239, allocations: 0.7192 MB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of SimCode: time 1.203e-06/1.239, allocations: 0 / 1.018 GB, free: 2.723 MB / 0.6355 GB