Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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 3.908/3.908, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.509/4.417, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/4.669, allocations: 98.72 MB / 0.6283 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/4.93, allocations: 124.5 MB / 0.7499 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/4.93, allocations: 75.59 kB / 0.75 GB, free: 12.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02088/4.951, allocations: 3.975 MB / 0.7538 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/4.951, allocations: 8 kB / 0.7538 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/4.951, allocations: 0 / 0.7538 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/4.951, allocations: 171 kB / 0.754 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/4.951, allocations: 0 / 0.754 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/4.951, allocations: 0 / 0.754 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.588e-05/4.951, allocations: 15.92 kB / 0.754 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.225e-05/4.952, allocations: 37.7 kB / 0.7541 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/4.952, allocations: 0 / 0.7541 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/4.952, allocations: 0 / 0.7541 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/4.952, allocations: 0 / 0.7541 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/4.952, allocations: 142.1 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/4.952, allocations: 29.75 kB / 0.7542 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/4.952, allocations: 12.86 kB / 0.7542 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/4.952, allocations: 11.94 kB / 0.7542 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/4.952, allocations: 30.56 kB / 0.7543 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/4.952, allocations: 0 / 0.7543 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006874/4.953, allocations: 278.3 kB / 0.7545 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/4.953, allocations: 51.41 kB / 0.7546 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/4.953, allocations: 92.98 kB / 0.7547 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/4.953, allocations: 25.7 kB / 0.7547 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/4.953, allocations: 84.14 kB / 0.7548 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/4.953, allocations: 19.72 kB / 0.7548 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/4.953, allocations: 0 / 0.7548 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001375/4.953, allocations: 314.8 kB / 0.7551 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/4.953, allocations: 12 kB / 0.7551 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/4.953, allocations: 11.94 kB / 0.7551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/4.954, allocations: 8 kB / 0.7551 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/4.954, allocations: 0 / 0.7551 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/4.954, allocations: 65.58 kB / 0.7552 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/4.954, allocations: 12 kB / 0.7552 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/4.954, allocations: 0 / 0.7552 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/4.954, allocations: 3.938 kB / 0.7552 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/4.954, allocations: 11.98 kB / 0.7552 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/4.954, allocations: 0 / 0.7552 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/4.954, allocations: 4 kB / 0.7552 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/4.954, allocations: 0 / 0.7552 GB, free: 7.348 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 (7): * Single equations (assignments): 7 * 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.026e-05/4.954, allocations: 108.8 kB / 0.7553 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/4.954, allocations: 4 kB / 0.7553 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/4.954, allocations: 69.97 kB / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/4.954, allocations: 384 / 0.7554 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/4.954, allocations: 3.906 kB / 0.7554 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/4.954, allocations: 3.984 kB / 0.7554 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/4.955, allocations: 284.2 kB / 0.7557 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/4.955, allocations: 4 kB / 0.7557 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/4.955, allocations: 15.98 kB / 0.7557 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/4.955, allocations: 4 kB / 0.7557 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/4.955, allocations: 7.938 kB / 0.7557 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/4.955, allocations: 0 / 0.7557 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/4.955, allocations: 0 / 0.7557 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002523/4.955, allocations: 185.9 kB / 0.7559 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004119/4.956, allocations: 0.565 MB / 0.7564 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/4.956, allocations: 85.09 kB / 0.7565 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/4.956, allocations: 0 / 0.7565 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/4.956, allocations: 7.906 kB / 0.7565 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/4.956, allocations: 4.062 kB / 0.7565 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/4.956, allocations: 4 kB / 0.7565 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.779e-05/4.956, allocations: 79.34 kB / 0.7566 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001193/4.957, allocations: 31.92 kB / 0.7566 GB, free: 5.758 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002835/4.958, allocations: 131.1 kB / 0.7568 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001322/4.958, allocations: 24 kB / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/4.958, allocations: 0 / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/4.958, allocations: 23.92 kB / 0.7568 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/4.958, allocations: 3.938 kB / 0.7568 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/4.958, allocations: 141.9 kB / 0.7569 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/4.959, allocations: 0.6997 MB / 0.7576 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/4.959, allocations: 0 / 0.7576 GB, free: 4.68 MB / 0.6355 GB