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_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.48/4.48, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.608/5.088, allocations: 104.3 MB / 0.5319 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/5.381, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/5.656, allocations: 125.3 MB / 0.7507 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004884/5.657, allocations: 83.58 kB / 0.7507 GB, free: 12.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03666/5.693, allocations: 4.264 MB / 0.7549 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/5.693, allocations: 12 kB / 0.7549 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/5.693, allocations: 7.906 kB / 0.7549 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/5.694, allocations: 167 kB / 0.7551 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/5.694, allocations: 0 / 0.7551 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/5.694, allocations: 7.906 kB / 0.7551 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002022/5.694, allocations: 39.98 kB / 0.7551 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/5.694, allocations: 61.67 kB / 0.7552 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/5.694, allocations: 3.938 kB / 0.7552 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/5.694, allocations: 3.984 kB / 0.7552 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/5.694, allocations: 4 kB / 0.7552 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/5.695, allocations: 297.1 kB / 0.7555 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/5.696, allocations: 41.7 kB / 0.7555 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/5.696, allocations: 20.86 kB / 0.7555 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/5.696, allocations: 0 / 0.7555 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/5.696, allocations: 34.56 kB / 0.7556 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/5.696, allocations: 0 / 0.7556 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001898/5.698, allocations: 0.5209 MB / 0.7561 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/5.698, allocations: 59.34 kB / 0.7561 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/5.698, allocations: 97 kB / 0.7562 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/5.698, allocations: 29.64 kB / 0.7563 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/5.698, allocations: 92.06 kB / 0.7563 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/5.698, allocations: 35.45 kB / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/5.698, allocations: 0 / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002105/5.699, allocations: 322.8 kB / 0.7567 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/5.699, allocations: 20 kB / 0.7567 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.898e-05/5.699, allocations: 20 kB / 0.7567 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/5.699, allocations: 23.98 kB / 0.7567 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/5.699, allocations: 0 / 0.7567 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003847/5.699, allocations: 93.52 kB / 0.7568 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/5.699, allocations: 4 kB / 0.7568 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/5.699, allocations: 0 / 0.7568 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/5.699, allocations: 0 / 0.7568 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/5.7, allocations: 27.98 kB / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/5.7, allocations: 0 / 0.7569 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/5.7, allocations: 12 kB / 0.7569 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/5.7, allocations: 7.984 kB / 0.7569 GB, free: 5.664 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 0.000168/5.7, allocations: 105 kB / 0.757 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/5.701, allocations: 7.844 kB / 0.757 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/5.701, allocations: 105.6 kB / 0.7571 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/5.701, allocations: 0 / 0.7571 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/5.701, allocations: 8 kB / 0.7571 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/5.701, allocations: 0 / 0.7571 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/5.702, allocations: 327 kB / 0.7574 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/5.702, allocations: 0 / 0.7574 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/5.703, allocations: 27.98 kB / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/5.703, allocations: 0 / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/5.703, allocations: 4 kB / 0.7574 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/5.703, allocations: 0 / 0.7574 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/5.703, allocations: 7.906 kB / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005855/5.703, allocations: 215.5 kB / 0.7577 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009204/5.704, allocations: 0.6174 MB / 0.7583 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/5.704, allocations: 85.02 kB / 0.7583 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/5.704, allocations: 4.125 kB / 0.7583 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/5.705, allocations: 8 kB / 0.7583 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/5.705, allocations: 11.98 kB / 0.7584 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/5.705, allocations: 4 kB / 0.7584 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.535e-05/5.705, allocations: 79.45 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002047/5.707, allocations: 43.92 kB / 0.7585 GB, free: 3.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0005023/5.708, allocations: 147.1 kB / 0.7586 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003399/5.708, allocations: 59.94 kB / 0.7587 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/5.708, allocations: 0 / 0.7587 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/5.708, allocations: 36.14 kB / 0.7587 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/5.709, allocations: 11.84 kB / 0.7587 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/5.71, allocations: 225.3 kB / 0.7589 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/5.71, allocations: 0.7153 MB / 0.7596 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of SimCode: time 1.532e-06/5.71, allocations: 0 / 0.7596 GB, free: 2.668 MB / 0.6355 GB