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.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.238/4.238, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5642/4.803, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/5.052, allocations: 98.72 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2572/5.309, allocations: 124.1 MB / 0.7495 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/5.309, allocations: 75.59 kB / 0.7496 GB, free: 13.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01247/5.322, allocations: 2.277 MB / 0.7518 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/5.322, allocations: 8 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/5.322, allocations: 4 kB / 0.7518 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/5.322, allocations: 159.1 kB / 0.752 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/5.322, allocations: 4 kB / 0.752 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/5.322, allocations: 0 / 0.752 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.905e-05/5.322, allocations: 11.91 kB / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.989e-05/5.322, allocations: 33.69 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/5.322, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/5.322, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/5.322, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/5.322, allocations: 126.2 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/5.322, allocations: 30.48 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/5.322, allocations: 12.86 kB / 0.7522 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/5.323, allocations: 3.984 kB / 0.7522 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/5.323, allocations: 34.62 kB / 0.7522 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/5.323, allocations: 0 / 0.7522 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/5.323, allocations: 37.59 kB / 0.7523 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/5.323, allocations: 55.41 kB / 0.7523 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/5.323, allocations: 85 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/5.323, allocations: 33.86 kB / 0.7524 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/5.323, allocations: 80.14 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/5.323, allocations: 15.83 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/5.323, allocations: 3.938 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/5.323, allocations: 311.6 kB / 0.7528 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/5.323, allocations: 0 / 0.7528 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/5.323, allocations: 4 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/5.323, allocations: 4 kB / 0.7528 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.323, allocations: 4.062 kB / 0.7528 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.29e-05/5.323, allocations: 33.7 kB / 0.7529 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/5.323, allocations: 8 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/5.323, allocations: 0 / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/5.323, allocations: 3.984 kB / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/5.324, allocations: 11.91 kB / 0.7529 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/5.324, allocations: 0.59 MB / 0.7535 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/5.324, allocations: 4.062 kB / 0.7535 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/5.324, allocations: 0 / 0.7535 GB, free: 9.215 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/5.324, allocations: 104.9 kB / 0.7536 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/5.324, allocations: 3.938 kB / 0.7536 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/5.325, allocations: 45 kB / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/5.325, allocations: 4 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/5.325, allocations: 0 / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/5.325, allocations: 4.031 kB / 0.7536 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/5.325, allocations: 126.2 kB / 0.7537 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/5.325, allocations: 0 / 0.7537 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/5.325, allocations: 11.98 kB / 0.7537 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/5.325, allocations: 0 / 0.7537 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/5.325, allocations: 4 kB / 0.7538 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/5.325, allocations: 0.5937 MB / 0.7543 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.325, allocations: 4.094 kB / 0.7543 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.701e-05/5.325, allocations: 61.12 kB / 0.7544 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002383/5.326, allocations: 446.6 kB / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/5.326, allocations: 85.17 kB / 0.7549 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/5.326, allocations: 7.906 kB / 0.7549 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/5.326, allocations: 4 kB / 0.7549 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/5.326, allocations: 0 / 0.7549 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/5.326, allocations: 0 / 0.7549 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.376e-05/5.326, allocations: 83.27 kB / 0.755 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001398/5.327, allocations: 8 kB / 0.755 GB, free: 7.512 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/5.328, allocations: 119.2 kB / 0.7551 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003407/5.328, allocations: 16 kB / 0.7551 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.328, allocations: 0 / 0.7551 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/5.328, allocations: 19.98 kB / 0.7551 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/5.329, allocations: 7.188 kB / 0.7552 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/5.329, allocations: 51.92 kB / 0.7552 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/5.329, allocations: 0.6841 MB / 0.7559 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of SimCode: time 1.844e-06/5.329, allocations: 4.125 kB / 0.7559 GB, free: 6.555 MB / 0.6355 GB