Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Abs,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.557/2.557, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001615/0.001614, allocations: 190.3 kB / 315.1 MB, free: 4.289 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.93/1.93, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001315/0.001315, allocations: 98.45 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4412/0.4425, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.6433, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6343/1.278, allocations: 131.7 MB / 1.012 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.278, allocations: 71.77 kB / 1.012 GB, free: 8.488 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.005639/1.284, allocations: 0.9828 MB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.284, allocations: 15.94 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/1.284, allocations: 3.906 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/1.284, allocations: 172.1 kB / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/1.284, allocations: 0 / 1.013 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/1.284, allocations: 4 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/1.284, allocations: 27.48 kB / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.284, allocations: 48.81 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.284, allocations: 3.984 kB / 1.013 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.284, allocations: 3.906 kB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.284, allocations: 4 kB / 1.013 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/1.285, allocations: 263.2 kB / 1.014 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/1.285, allocations: 49.08 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/1.285, allocations: 20.7 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/1.285, allocations: 4.125 kB / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.285, allocations: 30.56 kB / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/1.285, allocations: 0 / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002977/1.286, allocations: 64.41 kB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/1.286, allocations: 51.41 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.286, allocations: 108.6 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.286, allocations: 25.7 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/1.286, allocations: 84.12 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/1.286, allocations: 7.656 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/1.286, allocations: 0 / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.286, allocations: 318.8 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/1.286, allocations: 6.938 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/1.286, allocations: 15.19 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/1.286, allocations: 11.11 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.286, allocations: 4 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001663/1.286, allocations: 57.19 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.286, allocations: 4 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.286, allocations: 0 / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.286, allocations: 4 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/1.287, allocations: 19.89 kB / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.287, allocations: 0 / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/1.287, allocations: 11.98 kB / 1.015 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/1.287, allocations: 12.11 kB / 1.015 GB, free: 6.074 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 (abs1.u,abs1.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 8.806e-05/1.287, allocations: 104.9 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.287, allocations: 10.64 kB / 1.015 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/1.287, allocations: 11.98 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/1.287, allocations: 0 / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.287, allocations: 0 / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.287, allocations: 4 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/1.287, allocations: 161.3 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.287, allocations: 0 / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/1.288, allocations: 15.98 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.288, allocations: 4 kB / 1.015 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.288, allocations: 3.984 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.288, allocations: 0 / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.288, allocations: 0 / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002168/1.288, allocations: 159 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003653/1.288, allocations: 0.5313 MB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/1.288, allocations: 77.11 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/1.288, allocations: 0 / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.289, allocations: 15.98 kB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/1.289, allocations: 14.89 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.289, allocations: 0 / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.078e-05/1.289, allocations: 82.84 kB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001156/1.29, allocations: 12 kB / 1.016 GB, free: 4.82 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 (abs1.u,abs1.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.0001764/1.29, allocations: 99.23 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001599/1.29, allocations: 33.94 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.29, allocations: 0 / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/1.29, allocations: 23.92 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.291, allocations: 3.938 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/1.291, allocations: 87.48 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/1.292, allocations: 0.6993 MB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/1.292, allocations: 0 / 1.017 GB, free: 3.848 MB / 0.6355 GB