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.Derivative.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.Derivative,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.205/4.205, allocations: 433 MB / 440.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5525/4.758, allocations: 104.4 MB / 0.5319 GB, free: 12.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/5.036, allocations: 98.73 MB / 0.6283 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2904/5.327, allocations: 123.8 MB / 0.7493 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/5.327, allocations: 75.59 kB / 0.7493 GB, free: 13.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.007656/5.335, allocations: 1.623 MB / 0.7509 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/5.335, allocations: 12 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/5.335, allocations: 3.906 kB / 0.7509 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/5.335, allocations: 186.9 kB / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/5.335, allocations: 0 / 0.7511 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/5.335, allocations: 7.984 kB / 0.7511 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/5.336, allocations: 23.94 kB / 0.7511 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/5.336, allocations: 45.69 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/5.336, allocations: 0 / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/5.336, allocations: 0 / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/5.336, allocations: 0 / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/5.336, allocations: 273.4 kB / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/5.337, allocations: 30.58 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/5.337, allocations: 20.8 kB / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/5.337, allocations: 7.844 kB / 0.7515 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/5.337, allocations: 34.56 kB / 0.7515 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 5.079e-06/5.337, allocations: 4 kB / 0.7515 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002374/5.337, allocations: 53.77 kB / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/5.337, allocations: 51.41 kB / 0.7516 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/5.337, allocations: 101.2 kB / 0.7517 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/5.337, allocations: 25.7 kB / 0.7518 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/5.337, allocations: 92.05 kB / 0.7518 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/5.337, allocations: 11.75 kB / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/5.337, allocations: 0 / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001505/5.337, allocations: 323.5 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-05/5.338, allocations: 12 kB / 0.7522 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/5.338, allocations: 8 kB / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/5.338, allocations: 8 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/5.338, allocations: 3.938 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/5.338, allocations: 61.58 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/5.338, allocations: 8 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/5.338, allocations: 0 / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/5.338, allocations: 0 / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/5.338, allocations: 24.17 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/5.338, allocations: 4 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/5.338, allocations: 11.98 kB / 0.7523 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/5.338, allocations: 4 kB / 0.7523 GB, free: 10.24 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 (5): * Single equations (assignments): 5 * 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 9.377e-05/5.338, allocations: 108.9 kB / 0.7524 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/5.338, allocations: 4 kB / 0.7524 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/5.339, allocations: 65.61 kB / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/5.339, allocations: 0 / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/5.339, allocations: 3.906 kB / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/5.339, allocations: 0 / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/5.339, allocations: 142.2 kB / 0.7526 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/5.339, allocations: 0 / 0.7526 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/5.339, allocations: 16.36 kB / 0.7526 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/5.339, allocations: 4 kB / 0.7526 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/5.339, allocations: 4 kB / 0.7526 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/5.339, allocations: 0 / 0.7526 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/5.339, allocations: 3.938 kB / 0.7526 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002782/5.339, allocations: 171.3 kB / 0.7528 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004142/5.34, allocations: 0.5507 MB / 0.7533 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/5.34, allocations: 85.11 kB / 0.7534 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/5.34, allocations: 3.906 kB / 0.7534 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/5.34, allocations: 12.03 kB / 0.7534 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/5.34, allocations: 0 / 0.7534 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/5.34, allocations: 0 / 0.7534 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.773e-05/5.34, allocations: 87.34 kB / 0.7535 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001184/5.342, allocations: 19.98 kB / 0.7535 GB, free: 8.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * 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.0002526/5.342, allocations: 103.2 kB / 0.7536 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001706/5.342, allocations: 27.94 kB / 0.7537 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/5.342, allocations: 0 / 0.7537 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/5.342, allocations: 16 kB / 0.7537 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/5.342, allocations: 7.984 kB / 0.7537 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/5.343, allocations: 104.1 kB / 0.7538 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/5.343, allocations: 0.6954 MB / 0.7545 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of SimCode: time 3.066e-06/5.343, allocations: 0 / 0.7545 GB, free: 7.863 MB / 0.6355 GB