Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 248.6 MB / 255.9 MB, free: 7.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.00162, allocations: 177.3 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002596/0.002596, allocations: 94.69 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5135/0.5162, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.7325, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6708/1.403, allocations: 132.5 MB / 1.013 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004714/1.404, allocations: 78.8 kB / 1.013 GB, free: 7.703 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.0326/1.436, allocations: 3.973 MB / 1.017 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/1.437, allocations: 12 kB / 1.017 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/1.437, allocations: 4 kB / 1.017 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/1.437, allocations: 163.1 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.437, allocations: 3.906 kB / 1.017 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/1.437, allocations: 7.25 kB / 1.017 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/1.437, allocations: 7.938 kB / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.437, allocations: 41.62 kB / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.437, allocations: 0 / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/1.437, allocations: 0 / 1.017 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.437, allocations: 4 kB / 1.017 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/1.438, allocations: 141.3 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/1.438, allocations: 28.94 kB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/1.438, allocations: 16.11 kB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/1.438, allocations: 96 / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/1.438, allocations: 38.55 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.415e-06/1.438, allocations: 3.938 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0009377/1.439, allocations: 275 kB / 1.018 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.439, allocations: 51.41 kB / 1.018 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/1.439, allocations: 89 kB / 1.018 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/1.439, allocations: 25.7 kB / 1.018 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/1.439, allocations: 80.14 kB / 1.018 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/1.44, allocations: 27.02 kB / 1.018 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/1.44, allocations: 0 / 1.018 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.44, allocations: 318.1 kB / 1.018 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/1.44, allocations: 15.62 kB / 1.018 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/1.44, allocations: 5.891 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/1.44, allocations: 19.23 kB / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.44, allocations: 0 / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002415/1.44, allocations: 64.8 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.44, allocations: 7.984 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.44, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.44, allocations: 4.375 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/1.441, allocations: 8 kB / 1.018 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.441, allocations: 4 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/1.441, allocations: 0 / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/1.441, allocations: 4 kB / 1.018 GB, free: 2.793 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 0.0001215/1.441, allocations: 112.8 kB / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/1.441, allocations: 0 / 1.018 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/1.441, allocations: 71.91 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.441, allocations: 4 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.441, allocations: 0 / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.441, allocations: 3.906 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/1.442, allocations: 282.9 kB / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.442, allocations: 4 kB / 1.019 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.442, allocations: 8 kB / 1.019 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.442, allocations: 3.984 kB / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/1.442, allocations: 4 kB / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.442, allocations: 0 / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/1.442, allocations: 4.094 kB / 1.019 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003664/1.443, allocations: 195.1 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005546/1.443, allocations: 0.5547 MB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.443, allocations: 89.22 kB / 1.02 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/1.443, allocations: 0 / 1.02 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.444, allocations: 0 / 1.02 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.444, allocations: 15.02 kB / 1.02 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.444, allocations: 0 / 1.02 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.553e-05/1.444, allocations: 79.28 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001978/1.446, allocations: 23.94 kB / 1.02 GB, free: 1.277 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.0004513/1.446, allocations: 135.1 kB / 1.02 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002176/1.446, allocations: 35.05 kB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.446, allocations: 3.938 kB / 1.02 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/1.447, allocations: 19.25 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/1.447, allocations: 0 / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/1.448, allocations: 137.8 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/1.448, allocations: 0.7036 MB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of SimCode: time 1.894e-06/1.448, allocations: 0 / 1.021 GB, free: 208 kB / 0.6355 GB