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.Sources.Validation.Ramp.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.Sources.Validation.Ramp,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.45/4.45, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5559/5.006, allocations: 104.4 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/5.248, allocations: 98.72 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3026/5.55, allocations: 123.3 MB / 0.7487 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/5.551, allocations: 75.59 kB / 0.7488 GB, free: 14.22 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002139/5.553, allocations: 0.565 MB / 0.7493 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/5.553, allocations: 8 kB / 0.7493 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/5.553, allocations: 7.875 kB / 0.7494 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/5.553, allocations: 171 kB / 0.7495 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/5.553, allocations: 3.906 kB / 0.7495 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/5.553, allocations: 0 / 0.7495 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.286e-05/5.553, allocations: 8 kB / 0.7495 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.619e-05/5.553, allocations: 25.7 kB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/5.553, allocations: 4 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/5.553, allocations: 4 kB / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/5.553, allocations: 0 / 0.7496 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/5.554, allocations: 130.2 kB / 0.7497 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/5.554, allocations: 22.55 kB / 0.7497 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/5.554, allocations: 12.92 kB / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/5.554, allocations: 0 / 0.7497 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/5.554, allocations: 42.45 kB / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/5.554, allocations: 0 / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/5.554, allocations: 29.7 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/5.554, allocations: 51.41 kB / 0.7498 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/5.554, allocations: 93 kB / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/5.554, allocations: 25.7 kB / 0.7499 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/5.554, allocations: 84.14 kB / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/5.554, allocations: 0 / 0.75 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/5.554, allocations: 4.031 kB / 0.75 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/5.554, allocations: 322.7 kB / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/5.554, allocations: 4 kB / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/5.554, allocations: 0 / 0.7503 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/5.554, allocations: 11.94 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/5.555, allocations: 0 / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.105e-05/5.555, allocations: 33.64 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/5.555, allocations: 8 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/5.555, allocations: 96 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/5.555, allocations: 4 kB / 0.7504 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/5.555, allocations: 11.98 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/5.555, allocations: 0 / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/5.555, allocations: 11.98 kB / 0.7504 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/5.555, allocations: 3.906 kB / 0.7504 GB, free: 12.34 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 (1): * Single equations (assignments): 1 * 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 6.77e-05/5.555, allocations: 105 kB / 0.7505 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/5.555, allocations: 0 / 0.7505 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/5.555, allocations: 7.156 kB / 0.7505 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/5.555, allocations: 8 kB / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/5.555, allocations: 0 / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/5.555, allocations: 3.906 kB / 0.7505 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/5.555, allocations: 126.2 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/5.555, allocations: 7.938 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/5.555, allocations: 15.98 kB / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/5.555, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/5.555, allocations: 0 / 0.7507 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/5.555, allocations: 3.938 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/5.555, allocations: 0 / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001212/5.556, allocations: 65.03 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002194/5.556, allocations: 445.5 kB / 0.7512 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/5.556, allocations: 77.11 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/5.556, allocations: 3.984 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/5.556, allocations: 8.188 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/5.556, allocations: 4.031 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/5.556, allocations: 3.984 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.312e-05/5.556, allocations: 83.27 kB / 0.7513 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001037/5.557, allocations: 11.84 kB / 0.7514 GB, free: 11.29 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 (1): * Single equations (assignments): 1 * 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.0001469/5.557, allocations: 100.5 kB / 0.7515 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.155e-05/5.557, allocations: 8 kB / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/5.557, allocations: 0 / 0.7515 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/5.558, allocations: 8.062 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/5.558, allocations: 0 / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/5.558, allocations: 59.86 kB / 0.7515 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/5.558, allocations: 0.6841 MB / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/5.558, allocations: 0 / 0.7522 GB, free: 10.37 MB / 0.6355 GB