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.Tan.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.Tan,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.113/4.113, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6133/4.726, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/4.974, allocations: 98.73 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/5.215, allocations: 123.5 MB / 0.7489 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/5.216, allocations: 67.59 kB / 0.749 GB, free: 14.07 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.002973/5.219, allocations: 0.7132 MB / 0.7497 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/5.219, allocations: 12 kB / 0.7497 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/5.219, allocations: 0 / 0.7497 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/5.219, allocations: 163 kB / 0.7498 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/5.219, allocations: 4 kB / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/5.219, allocations: 0 / 0.7498 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.306e-05/5.219, allocations: 11.94 kB / 0.7498 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/5.219, allocations: 41.69 kB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/5.219, allocations: 0 / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/5.219, allocations: 0 / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/5.219, allocations: 0 / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/5.22, allocations: 225.4 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/5.22, allocations: 22.58 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/5.22, allocations: 8.922 kB / 0.7501 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/5.22, allocations: 11.94 kB / 0.7501 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/5.22, allocations: 34.59 kB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/5.22, allocations: 0 / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/5.22, allocations: 33.7 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/5.22, allocations: 63.31 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/5.22, allocations: 89 kB / 0.7503 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/5.22, allocations: 25.7 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/5.22, allocations: 92.09 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/5.22, allocations: 11.84 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/5.22, allocations: 0 / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001099/5.22, allocations: 310.8 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/5.22, allocations: 7.938 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/5.22, allocations: 8 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/5.22, allocations: 4 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/5.22, allocations: 0 / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001034/5.221, allocations: 49.69 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/5.221, allocations: 4 kB / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/5.221, allocations: 0 / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/5.221, allocations: 0 / 0.7508 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/5.221, allocations: 12 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/5.221, allocations: 7.891 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/5.221, allocations: 12.03 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/5.221, allocations: 0 / 0.7509 GB, free: 11.91 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 7.22e-05/5.221, allocations: 101 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/5.221, allocations: 0 / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/5.221, allocations: 52.84 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/5.221, allocations: 4 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/5.221, allocations: 0 / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/5.221, allocations: 0 / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/5.221, allocations: 146.2 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/5.221, allocations: 0 / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/5.222, allocations: 8 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/5.222, allocations: 3.984 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/5.222, allocations: 0 / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/5.222, allocations: 7.906 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.222, allocations: 192 / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/5.222, allocations: 139.6 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003517/5.222, allocations: 0.5076 MB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/5.222, allocations: 81.09 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/5.222, allocations: 3.906 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/5.222, allocations: 16.05 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/5.223, allocations: 0 / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/5.223, allocations: 4 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.639e-05/5.223, allocations: 83.27 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00109/5.224, allocations: 7.938 kB / 0.752 GB, free: 10.66 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.0001692/5.224, allocations: 103.2 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001081/5.224, allocations: 12 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/5.224, allocations: 0 / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/5.224, allocations: 8 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/5.224, allocations: 0 / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/5.225, allocations: 63.8 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/5.225, allocations: 0.6919 MB / 0.7528 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/5.225, allocations: 128 / 0.7528 GB, free: 9.723 MB / 0.6355 GB