Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.448/2.448, 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.001604/0.001604, allocations: 185.2 kB / 315.1 MB, free: 4.281 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.975/1.975, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001242/0.001242, allocations: 86.7 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5055/0.5068, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.7027, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6132/1.316, allocations: 131.8 MB / 1.012 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.316, allocations: 71.58 kB / 1.012 GB, free: 8.379 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.008154/1.324, allocations: 1.584 MB / 1.014 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.324, allocations: 12 kB / 1.014 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/1.325, allocations: 11.81 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/1.325, allocations: 173.8 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/1.325, allocations: 7.438 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/1.325, allocations: 4 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/1.325, allocations: 48.67 kB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/1.325, allocations: 71.59 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.325, allocations: 0 / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.325, allocations: 0 / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.325, allocations: 0 / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/1.326, allocations: 326.9 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008049/1.327, allocations: 85.92 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/1.327, allocations: 34.28 kB / 1.015 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/1.327, allocations: 4 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.327, allocations: 34.19 kB / 1.015 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.267e-06/1.327, allocations: 0 / 1.015 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003675/1.328, allocations: 79.28 kB / 1.015 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.328, allocations: 51.41 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/1.328, allocations: 115.8 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/1.328, allocations: 29.64 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/1.328, allocations: 95.22 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/1.328, allocations: 19.66 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.138e-05/1.328, allocations: 4 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.328, allocations: 318.4 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/1.328, allocations: 22.5 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/1.328, allocations: 19.56 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/1.328, allocations: 18.55 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.328, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002881/1.329, allocations: 91.09 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.329, allocations: 8.844 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.329, allocations: 4 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.329, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/1.329, allocations: 27.97 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/1.329, allocations: 7.938 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/1.329, allocations: 23.89 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/1.329, allocations: 7.922 kB / 1.015 GB, free: 5.23 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 (add1.u1,add1.u2,add1.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.0001076/1.33, allocations: 107.4 kB / 1.016 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/1.33, allocations: 7.906 kB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/1.33, allocations: 12.06 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.33, allocations: 7.984 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.33, allocations: 0 / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.33, allocations: 4 kB / 1.016 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/1.33, allocations: 176.1 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.33, allocations: 0 / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/1.33, allocations: 31.97 kB / 1.016 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.33, allocations: 4 kB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.33, allocations: 3.25 kB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.33, allocations: 0 / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.33, allocations: 3.25 kB / 1.016 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003391/1.331, allocations: 187.2 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004545/1.331, allocations: 0.5534 MB / 1.017 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/1.331, allocations: 89 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/1.331, allocations: 0 / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/1.332, allocations: 15.98 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.332, allocations: 27.47 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.332, allocations: 0 / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001037/1.332, allocations: 105.2 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001226/1.333, allocations: 19.84 kB / 1.017 GB, free: 3.871 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 (add1.u1,add1.u2,add1.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.0002389/1.334, allocations: 103.2 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002916/1.334, allocations: 62.53 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.334, allocations: 0 / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.334, allocations: 38.05 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.334, allocations: 7.625 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/1.335, allocations: 126.1 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/1.336, allocations: 0.715 MB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/1.336, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB