Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.466/2.466, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.0019/0.0019, allocations: 182.4 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.2 MB / 0.5658 GB, free: 452 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.001346/0.001346, allocations: 94.39 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4996/0.501, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.7165, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7596/1.476, allocations: 133.3 MB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/1.477, allocations: 83.62 kB / 1.014 GB, free: 6.617 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.0342/1.511, allocations: 4.274 MB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001006/1.511, allocations: 8 kB / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/1.511, allocations: 7.906 kB / 1.018 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/1.511, allocations: 171 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/1.511, allocations: 3.984 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/1.511, allocations: 11.91 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001935/1.512, allocations: 30.31 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/1.512, allocations: 58.17 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.512, allocations: 0 / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/1.512, allocations: 4 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.512, allocations: 0 / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/1.513, allocations: 301.5 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/1.513, allocations: 36.77 kB / 1.019 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/1.513, allocations: 19.8 kB / 1.019 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/1.513, allocations: 4 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/1.513, allocations: 34.56 kB / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/1.513, allocations: 0 / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001236/1.514, allocations: 0.5315 MB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/1.514, allocations: 55.41 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/1.514, allocations: 92.31 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/1.514, allocations: 25.7 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/1.514, allocations: 95.59 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/1.515, allocations: 34.83 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/1.515, allocations: 0 / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.515, allocations: 321.9 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/1.515, allocations: 18.31 kB / 1.02 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-05/1.515, allocations: 23.3 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/1.515, allocations: 18.69 kB / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.515, allocations: 0 / 1.02 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000229/1.515, allocations: 91.36 kB / 1.02 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/1.515, allocations: 8 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.515, allocations: 3.906 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.515, allocations: 4 kB / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/1.516, allocations: 30.92 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.516, allocations: 4 kB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.516, allocations: 11.92 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/1.516, allocations: 8 kB / 1.02 GB, free: 0.8711 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 9.658e-05/1.516, allocations: 102.9 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/1.516, allocations: 11.91 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/1.516, allocations: 104.9 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.516, allocations: 4 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.516, allocations: 0 / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.516, allocations: 0 / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/1.517, allocations: 331.2 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.517, allocations: 4 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/1.517, allocations: 27.92 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/1.517, allocations: 4 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/1.517, allocations: 0 / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.517, allocations: 0 / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.517, allocations: 0 / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003658/1.518, allocations: 223.6 kB / 1.021 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005687/1.518, allocations: 0.6105 MB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/1.518, allocations: 85.02 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/1.518, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.519, allocations: 11.92 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/1.519, allocations: 11.19 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.519, allocations: 4 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.866e-05/1.519, allocations: 87.09 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001254/1.52, allocations: 39.94 kB / 1.021 GB, free: 15.23 MB / 0.6511 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.0003359/1.52, allocations: 142.6 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002254/1.521, allocations: 59.12 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.521, allocations: 0 / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/1.521, allocations: 38.23 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/1.521, allocations: 11.91 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/1.522, allocations: 228.1 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/1.522, allocations: 0.7153 MB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/1.522, allocations: 0 / 1.023 GB, free: 14.02 MB / 0.6511 GB