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.Continuous.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.Continuous.Validation.Abs,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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 4.17/4.17, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5451/4.716, allocations: 104.3 MB / 0.5319 GB, free: 12.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/4.947, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2696/5.216, allocations: 123.4 MB / 0.7488 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.217, allocations: 67.61 kB / 0.7489 GB, free: 14.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004795/5.222, allocations: 1.084 MB / 0.75 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/5.222, allocations: 12 kB / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/5.222, allocations: 0 / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/5.222, allocations: 170.9 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/5.222, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/5.222, allocations: 0 / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.659e-05/5.222, allocations: 12 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/5.222, allocations: 33.69 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/5.222, allocations: 0 / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/5.222, allocations: 0 / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/5.222, allocations: 0 / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/5.223, allocations: 257.4 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/5.223, allocations: 26.58 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/5.223, allocations: 12.92 kB / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/5.223, allocations: 0 / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/5.223, allocations: 34.56 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/5.223, allocations: 0 / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001897/5.223, allocations: 33.7 kB / 0.7505 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/5.223, allocations: 55.31 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.581e-05/5.223, allocations: 104.9 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/5.223, allocations: 33.67 kB / 0.7507 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/5.223, allocations: 84.14 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/5.223, allocations: 3.906 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/5.223, allocations: 0 / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002185/5.224, allocations: 314.8 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/5.224, allocations: 4 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/5.224, allocations: 8 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/5.224, allocations: 3.938 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/5.224, allocations: 4.062 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/5.224, allocations: 45.69 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/5.224, allocations: 4 kB / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/5.224, allocations: 0 / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/5.224, allocations: 0 / 0.7512 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/5.224, allocations: 11.98 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/5.224, allocations: 7.906 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/5.224, allocations: 8.031 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/5.224, allocations: 0 / 0.7512 GB, free: 11.61 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.68e-05/5.224, allocations: 109 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/5.224, allocations: 3.938 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/5.225, allocations: 7.219 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.225, allocations: 0 / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/5.225, allocations: 0 / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/5.225, allocations: 8 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/5.225, allocations: 134.2 kB / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/5.225, allocations: 0 / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/5.225, allocations: 11.98 kB / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/5.225, allocations: 0 / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/5.225, allocations: 0 / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/5.225, allocations: 0 / 0.7514 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/5.225, allocations: 3.906 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001546/5.225, allocations: 143.5 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002923/5.225, allocations: 0.5076 MB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/5.225, allocations: 77.11 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/5.225, allocations: 0 / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/5.226, allocations: 15.97 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/5.226, allocations: 7.922 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/5.226, allocations: 0 / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.171e-05/5.226, allocations: 83.28 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001088/5.227, allocations: 4 kB / 0.7523 GB, free: 10.41 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001902/5.227, allocations: 103.2 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001384/5.227, allocations: 12 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/5.227, allocations: 0 / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/5.227, allocations: 7.984 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/5.228, allocations: 4 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/5.228, allocations: 63.39 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/5.228, allocations: 0.688 MB / 0.7531 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/5.228, allocations: 8.062 kB / 0.7531 GB, free: 9.469 MB / 0.6355 GB