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_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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 4.184/4.184, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5354/4.72, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/4.958, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/5.199, allocations: 124.4 MB / 0.7498 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/5.2, allocations: 83.58 kB / 0.7498 GB, free: 13.13 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.01477/5.215, allocations: 2.827 MB / 0.7526 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/5.215, allocations: 8 kB / 0.7526 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/5.215, allocations: 0 / 0.7526 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/5.215, allocations: 174.9 kB / 0.7528 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/5.215, allocations: 0 / 0.7528 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/5.215, allocations: 4 kB / 0.7528 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.843e-05/5.215, allocations: 15.98 kB / 0.7528 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.383e-05/5.215, allocations: 29.7 kB / 0.7528 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/5.215, allocations: 0 / 0.7528 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/5.215, allocations: 3.938 kB / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/5.215, allocations: 4 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/5.215, allocations: 138.1 kB / 0.753 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/5.216, allocations: 29.75 kB / 0.753 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/5.216, allocations: 20.86 kB / 0.753 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/5.216, allocations: 3.938 kB / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/5.216, allocations: 30.56 kB / 0.753 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/5.216, allocations: 0 / 0.753 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006585/5.216, allocations: 274.4 kB / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/5.216, allocations: 55.41 kB / 0.7534 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/5.217, allocations: 96.92 kB / 0.7535 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/5.217, allocations: 25.7 kB / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/5.217, allocations: 88.14 kB / 0.7536 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/5.217, allocations: 15.66 kB / 0.7536 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/5.217, allocations: 0 / 0.7536 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000141/5.217, allocations: 322.8 kB / 0.7539 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/5.217, allocations: 4 kB / 0.7539 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/5.217, allocations: 12 kB / 0.7539 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/5.217, allocations: 8 kB / 0.7539 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/5.217, allocations: 4 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/5.217, allocations: 65.59 kB / 0.754 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/5.217, allocations: 6.969 kB / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/5.217, allocations: 0 / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/5.217, allocations: 0 / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/5.217, allocations: 11.98 kB / 0.754 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/5.217, allocations: 7.938 kB / 0.754 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/5.217, allocations: 0 / 0.754 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/5.217, allocations: 0 / 0.754 GB, free: 8.633 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 7.903e-05/5.217, allocations: 109.4 kB / 0.7541 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/5.218, allocations: 4 kB / 0.7541 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/5.218, allocations: 65.69 kB / 0.7542 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/5.218, allocations: 384 / 0.7542 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/5.218, allocations: 7.891 kB / 0.7542 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/5.218, allocations: 128 / 0.7542 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/5.218, allocations: 288 kB / 0.7545 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/5.218, allocations: 0 / 0.7545 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/5.218, allocations: 15.94 kB / 0.7545 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/5.218, allocations: 8.016 kB / 0.7545 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/5.218, allocations: 3.906 kB / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/5.218, allocations: 0 / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/5.218, allocations: 240 / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002705/5.219, allocations: 197.9 kB / 0.7547 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004075/5.219, allocations: 0.5664 MB / 0.7552 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/5.219, allocations: 81.09 kB / 0.7553 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/5.219, allocations: 4 kB / 0.7553 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/5.219, allocations: 3.906 kB / 0.7553 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/5.219, allocations: 0 / 0.7553 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/5.219, allocations: 8.062 kB / 0.7553 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.131e-05/5.22, allocations: 83.28 kB / 0.7554 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00117/5.221, allocations: 31.86 kB / 0.7554 GB, free: 7.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002708/5.221, allocations: 119.2 kB / 0.7555 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001423/5.221, allocations: 28 kB / 0.7556 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/5.221, allocations: 0 / 0.7556 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/5.221, allocations: 19.88 kB / 0.7556 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/5.221, allocations: 8.062 kB / 0.7556 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/5.222, allocations: 141.8 kB / 0.7557 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/5.222, allocations: 0.6958 MB / 0.7564 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/5.222, allocations: 0 / 0.7564 GB, free: 5.973 MB / 0.6355 GB