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.Modulo.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.Modulo,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.053/4.053, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.604/4.657, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/4.923, allocations: 98.72 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2569/5.18, allocations: 123.5 MB / 0.7489 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.18, allocations: 71.61 kB / 0.7489 GB, free: 14.14 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00691/5.187, allocations: 1.49 MB / 0.7504 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/5.187, allocations: 8 kB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/5.187, allocations: 3.906 kB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/5.187, allocations: 175 kB / 0.7506 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/5.187, allocations: 0 / 0.7506 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/5.187, allocations: 4 kB / 0.7506 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001309/5.187, allocations: 19.91 kB / 0.7506 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/5.188, allocations: 49.62 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/5.188, allocations: 0 / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/5.188, allocations: 0 / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/5.188, allocations: 4 kB / 0.7506 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/5.188, allocations: 277.4 kB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/5.189, allocations: 38.58 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/5.189, allocations: 12.86 kB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/5.189, allocations: 0 / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/5.189, allocations: 34.56 kB / 0.751 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/5.189, allocations: 3.938 kB / 0.751 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002376/5.189, allocations: 53.69 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/5.189, allocations: 51.41 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/5.189, allocations: 97 kB / 0.7512 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/5.189, allocations: 29.7 kB / 0.7512 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/5.189, allocations: 84.12 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/5.189, allocations: 7.906 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/5.189, allocations: 3.938 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001316/5.189, allocations: 314.8 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/5.189, allocations: 8 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/5.19, allocations: 11.98 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/5.19, allocations: 11.91 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.19, allocations: 0 / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001419/5.19, allocations: 53.64 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/5.19, allocations: 11.92 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/5.19, allocations: 4 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/5.19, allocations: 0 / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/5.19, allocations: 19.98 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/5.19, allocations: 4 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/5.19, allocations: 23.83 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/5.19, allocations: 0 / 0.7517 GB, free: 11.05 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 (3): * Single equations (assignments): 3 * 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.446e-05/5.19, allocations: 105 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/5.19, allocations: 7.906 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/5.191, allocations: 15.98 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/5.191, allocations: 0 / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/5.191, allocations: 0 / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/5.191, allocations: 0 / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/5.191, allocations: 142.4 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/5.191, allocations: 0 / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/5.191, allocations: 23.98 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/5.191, allocations: 7.984 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/5.191, allocations: 3.906 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/5.191, allocations: 3.984 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.191, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002014/5.191, allocations: 147.4 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003227/5.192, allocations: 0.5233 MB / 0.7527 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/5.192, allocations: 81.11 kB / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/5.192, allocations: 0 / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/5.192, allocations: 19.98 kB / 0.7528 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/5.192, allocations: 3.984 kB / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/5.192, allocations: 4 kB / 0.7528 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.406e-05/5.192, allocations: 91.48 kB / 0.7529 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001098/5.193, allocations: 8 kB / 0.7529 GB, free: 9.773 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 (3): * Single equations (assignments): 3 * 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.0001999/5.193, allocations: 99.25 kB / 0.753 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001677/5.194, allocations: 31.92 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/5.194, allocations: 0.7188 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/5.194, allocations: 12 kB / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/5.194, allocations: 7.938 kB / 0.753 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/5.194, allocations: 75.7 kB / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/5.195, allocations: 0.6954 MB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/5.195, allocations: 7.938 kB / 0.7538 GB, free: 8.793 MB / 0.6355 GB