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.Product.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.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.384/4.384, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5116/4.895, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/5.112, allocations: 98.72 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/5.387, allocations: 123.4 MB / 0.7488 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/5.388, allocations: 71.59 kB / 0.7489 GB, free: 14.09 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.004192/5.392, allocations: 0.9048 MB / 0.7498 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/5.392, allocations: 8 kB / 0.7498 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/5.392, allocations: 11.84 kB / 0.7498 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/5.392, allocations: 167.1 kB / 0.75 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/5.392, allocations: 8 kB / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/5.392, allocations: 0 / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/5.393, allocations: 15.91 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/5.393, allocations: 41.69 kB / 0.75 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/5.393, allocations: 4 kB / 0.75 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/5.393, allocations: 0 / 0.75 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/5.393, allocations: 0 / 0.75 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/5.393, allocations: 301.3 kB / 0.7503 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/5.394, allocations: 26.58 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/5.394, allocations: 12.86 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/5.394, allocations: 0 / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/5.394, allocations: 38.64 kB / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/5.394, allocations: 0 / 0.7504 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002112/5.394, allocations: 57.53 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/5.394, allocations: 55.41 kB / 0.7505 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/5.394, allocations: 105 kB / 0.7506 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/5.394, allocations: 25.7 kB / 0.7506 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/5.394, allocations: 80.14 kB / 0.7507 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/5.394, allocations: 11.91 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/5.394, allocations: 0 / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001216/5.394, allocations: 314.8 kB / 0.751 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/5.394, allocations: 8 kB / 0.751 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/5.394, allocations: 8 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/5.394, allocations: 15.91 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/5.394, allocations: 7.938 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000134/5.395, allocations: 45.69 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/5.395, allocations: 4 kB / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/5.395, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/5.395, allocations: 0 / 0.7511 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/5.395, allocations: 27.98 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/5.395, allocations: 3.938 kB / 0.7511 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/5.395, allocations: 19.89 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/5.395, allocations: 4 kB / 0.7512 GB, free: 11.58 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 7.732e-05/5.395, allocations: 101 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/5.395, allocations: 11.91 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/5.395, allocations: 7.984 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/5.395, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/5.395, allocations: 4 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/5.395, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/5.396, allocations: 138.2 kB / 0.7514 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/5.396, allocations: 3.938 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/5.396, allocations: 31.98 kB / 0.7514 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/5.396, allocations: 0 / 0.7514 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/5.396, allocations: 7.891 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/5.396, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/5.396, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001826/5.396, allocations: 147.5 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003462/5.396, allocations: 0.5193 MB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/5.396, allocations: 77.11 kB / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/5.396, allocations: 0 / 0.7522 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/5.397, allocations: 19.98 kB / 0.7522 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/5.397, allocations: 7.984 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/5.397, allocations: 0 / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.793e-05/5.397, allocations: 87.19 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001106/5.398, allocations: 8 kB / 0.7523 GB, free: 10.32 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.0001533/5.398, allocations: 103.2 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001411/5.398, allocations: 20 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/5.398, allocations: 3.938 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/5.398, allocations: 15.98 kB / 0.7524 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/5.399, allocations: 7.938 kB / 0.7524 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/5.399, allocations: 79.7 kB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/5.399, allocations: 0.6959 MB / 0.7532 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/5.399, allocations: 0 / 0.7532 GB, free: 9.344 MB / 0.6355 GB