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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.052/4.052, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5821/4.634, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/4.878, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/5.148, allocations: 124.6 MB / 0.75 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/5.148, allocations: 83.58 kB / 0.7501 GB, free: 12.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0237/5.172, allocations: 4.458 MB / 0.7544 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/5.172, allocations: 8 kB / 0.7544 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/5.172, allocations: 8 kB / 0.7545 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/5.172, allocations: 166.9 kB / 0.7546 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/5.172, allocations: 4 kB / 0.7546 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/5.172, allocations: 0 / 0.7546 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.713e-05/5.172, allocations: 20 kB / 0.7546 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/5.172, allocations: 41.69 kB / 0.7547 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/5.172, allocations: 4 kB / 0.7547 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/5.172, allocations: 0 / 0.7547 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/5.172, allocations: 3.984 kB / 0.7547 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/5.173, allocations: 162 kB / 0.7548 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/5.173, allocations: 33.72 kB / 0.7549 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/5.173, allocations: 24.86 kB / 0.7549 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/5.173, allocations: 3.938 kB / 0.7549 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/5.173, allocations: 34.56 kB / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/5.173, allocations: 0 / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001225/5.174, allocations: 0.5089 MB / 0.7554 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/5.174, allocations: 55.34 kB / 0.7555 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/5.174, allocations: 93 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/5.175, allocations: 25.7 kB / 0.7556 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/5.175, allocations: 80.14 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/5.175, allocations: 39.39 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/5.175, allocations: 0 / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000186/5.175, allocations: 327 kB / 0.756 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/5.175, allocations: 16 kB / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/5.175, allocations: 20 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/5.175, allocations: 20 kB / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/5.175, allocations: 0 / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002494/5.175, allocations: 89.58 kB / 0.7562 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/5.175, allocations: 4 kB / 0.7562 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/5.175, allocations: 0 / 0.7562 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/5.175, allocations: 4 kB / 0.7562 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/5.176, allocations: 31.92 kB / 0.7562 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/5.176, allocations: 0 / 0.7562 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/5.176, allocations: 3.906 kB / 0.7562 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/5.176, allocations: 4 kB / 0.7562 GB, free: 6.359 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 (13): * Single equations (assignments): 13 * 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 8.444e-05/5.176, allocations: 101 kB / 0.7563 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/5.176, allocations: 7.906 kB / 0.7563 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/5.176, allocations: 102.2 kB / 0.7564 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/5.176, allocations: 4 kB / 0.7564 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/5.176, allocations: 7.984 kB / 0.7564 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/5.176, allocations: 0 / 0.7564 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/5.177, allocations: 315.3 kB / 0.7567 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/5.177, allocations: 0 / 0.7567 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/5.177, allocations: 23.98 kB / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/5.177, allocations: 0 / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/5.177, allocations: 3.938 kB / 0.7567 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/5.177, allocations: 0 / 0.7567 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/5.177, allocations: 4 kB / 0.7568 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003295/5.177, allocations: 207.7 kB / 0.7569 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000503/5.178, allocations: 0.6055 MB / 0.7575 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/5.178, allocations: 81.02 kB / 0.7576 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/5.178, allocations: 4 kB / 0.7576 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/5.178, allocations: 3.984 kB / 0.7576 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/5.178, allocations: 12.06 kB / 0.7576 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/5.178, allocations: 8 kB / 0.7576 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.49e-05/5.178, allocations: 75.28 kB / 0.7577 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001247/5.18, allocations: 47.83 kB / 0.7578 GB, free: 4.652 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003166/5.18, allocations: 143.1 kB / 0.7579 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002414/5.18, allocations: 55.94 kB / 0.758 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.18, allocations: 0 / 0.758 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/5.18, allocations: 32.31 kB / 0.758 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/5.18, allocations: 4 kB / 0.758 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/5.181, allocations: 217.1 kB / 0.7582 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/5.182, allocations: 0.7075 MB / 0.7589 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/5.182, allocations: 4 kB / 0.7589 GB, free: 3.441 MB / 0.6355 GB