Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.225/2.225, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001643/0.001643, allocations: 185.2 kB / 315.1 MB, free: 4.258 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.999/1.999, allocations: 205.1 MB / 0.5658 GB, free: 288 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.00183/0.00183, allocations: 87.33 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5171/0.519, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.7373, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/1.434, allocations: 131.7 MB / 1.012 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.434, allocations: 70.58 kB / 1.012 GB, free: 8.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005031/1.439, allocations: 1.004 MB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.44, allocations: 12 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/1.44, allocations: 3.906 kB / 1.013 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/1.44, allocations: 167.1 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/1.44, allocations: 4 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.44, allocations: 4 kB / 1.013 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/1.44, allocations: 23.55 kB / 1.013 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/1.44, allocations: 53.22 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.44, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/1.44, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.44, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/1.441, allocations: 267.4 kB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/1.441, allocations: 49.78 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/1.441, allocations: 15.48 kB / 1.014 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.441, allocations: 4 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.441, allocations: 30.56 kB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.585e-06/1.441, allocations: 0 / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002745/1.441, allocations: 64.73 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.441, allocations: 55.39 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.442, allocations: 104.3 kB / 1.014 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/1.442, allocations: 25.7 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/1.442, allocations: 80.14 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/1.442, allocations: 15.8 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/1.442, allocations: 0 / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.442, allocations: 314.3 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/1.442, allocations: 17 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/1.442, allocations: 7.688 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/1.442, allocations: 15.5 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.442, allocations: 0 / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001559/1.442, allocations: 56.42 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.442, allocations: 7.906 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.442, allocations: 2.625 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.442, allocations: 3.938 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/1.442, allocations: 19.98 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/1.442, allocations: 0 / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.443, allocations: 11.98 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/1.443, allocations: 7.75 kB / 1.015 GB, free: 5.93 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: 2 (intGreEquThr.u,intGreEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.305e-05/1.443, allocations: 108.9 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/1.443, allocations: 3.906 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/1.443, allocations: 15.94 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.443, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.443, allocations: 3.984 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.443, allocations: 0 / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/1.443, allocations: 153.7 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.443, allocations: 0 / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.443, allocations: 15.98 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/1.443, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.443, allocations: 4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.443, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.443, allocations: 4 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/1.444, allocations: 159.5 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003205/1.444, allocations: 0.5206 MB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/1.444, allocations: 85.09 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.444, allocations: 7.906 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.444, allocations: 8 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/1.444, allocations: 11.59 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.444, allocations: 4 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.086e-05/1.445, allocations: 82.97 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001125/1.446, allocations: 8 kB / 1.016 GB, free: 4.684 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: 2 (intGreEquThr.u,intGreEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001934/1.446, allocations: 115.2 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001733/1.446, allocations: 26.19 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.446, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/1.446, allocations: 19.67 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/1.447, allocations: 10.23 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/1.447, allocations: 93.95 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/1.448, allocations: 0.7071 MB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/1.448, allocations: 0 / 1.017 GB, free: 3.688 MB / 0.6355 GB