Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.879/3.879, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5266/4.406, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/4.618, allocations: 98.73 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/4.845, allocations: 123.7 MB / 0.7491 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/4.846, allocations: 75.59 kB / 0.7492 GB, free: 13.8 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.004915/4.851, allocations: 0.9789 MB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/4.851, allocations: 8 kB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/4.851, allocations: 3.906 kB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/4.851, allocations: 167 kB / 0.7503 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/4.851, allocations: 4 kB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/4.851, allocations: 0 / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/4.851, allocations: 31.98 kB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/4.851, allocations: 57.52 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/4.851, allocations: 0 / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/4.851, allocations: 0 / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/4.851, allocations: 4 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/4.852, allocations: 265.3 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/4.852, allocations: 46.52 kB / 0.7507 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/4.852, allocations: 21.02 kB / 0.7507 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/4.852, allocations: 4 kB / 0.7507 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/4.852, allocations: 38.5 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/4.852, allocations: 0 / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002569/4.853, allocations: 57.59 kB / 0.7508 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/4.853, allocations: 51.41 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/4.853, allocations: 97 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/4.853, allocations: 25.7 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/4.853, allocations: 88.12 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/4.853, allocations: 15.75 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/4.853, allocations: 4 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001139/4.853, allocations: 310.8 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/4.853, allocations: 16 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/4.853, allocations: 16.02 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/4.853, allocations: 12 kB / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/4.853, allocations: 0 / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001661/4.853, allocations: 57.88 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/4.853, allocations: 10.81 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/4.853, allocations: 3.906 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/4.853, allocations: 4 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/4.854, allocations: 19.98 kB / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/4.854, allocations: 0 / 0.7515 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/4.854, allocations: 11.98 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/4.854, allocations: 0 / 0.7516 GB, free: 11.2 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.254e-05/4.854, allocations: 105 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/4.854, allocations: 7.906 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/4.854, allocations: 11.98 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/4.854, allocations: 0 / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/4.854, allocations: 0 / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/4.854, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/4.854, allocations: 146.1 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/4.854, allocations: 0 / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/4.855, allocations: 23.98 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/4.855, allocations: 0 / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/4.855, allocations: 3.984 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/4.855, allocations: 3.938 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/4.855, allocations: 0 / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003428/4.855, allocations: 151.5 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003683/4.856, allocations: 0.5272 MB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/4.856, allocations: 88.98 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/4.856, allocations: 0 / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/4.856, allocations: 15.83 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/4.856, allocations: 11.98 kB / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/4.856, allocations: 8 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.301e-05/4.856, allocations: 83.28 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001766/4.858, allocations: 15.94 kB / 0.7527 GB, free: 9.902 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.0002609/4.858, allocations: 103.2 kB / 0.7528 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002022/4.858, allocations: 24 kB / 0.7528 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.858, allocations: 0 / 0.7528 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/4.858, allocations: 27.98 kB / 0.7529 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/4.859, allocations: 4 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/4.859, allocations: 83.7 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/4.86, allocations: 0.6993 MB / 0.7536 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/4.86, allocations: 0 / 0.7536 GB, free: 8.91 MB / 0.6355 GB