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_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.181/2.181, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.002967/0.002967, allocations: 180.1 kB / 315.1 MB, free: 4.273 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.997/1.997, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001265/0.001265, allocations: 99.02 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4815/0.4828, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.6983, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/1.47, allocations: 132.6 MB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.471, allocations: 73.83 kB / 1.013 GB, free: 7.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02311/1.494, allocations: 4.47 MB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.494, allocations: 12 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/1.494, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/1.494, allocations: 178.8 kB / 1.018 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.494, allocations: 0 / 1.018 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/1.494, allocations: 8 kB / 1.018 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.651e-05/1.494, allocations: 11.75 kB / 1.018 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.495, allocations: 46.47 kB / 1.018 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.495, allocations: 0 / 1.018 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.495, allocations: 0 / 1.018 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.495, allocations: 3.984 kB / 1.018 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/1.495, allocations: 144.8 kB / 1.018 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/1.495, allocations: 37.14 kB / 1.018 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/1.495, allocations: 27.48 kB / 1.018 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/1.495, allocations: 4 kB / 1.018 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/1.495, allocations: 34.38 kB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.495, allocations: 0 / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001143/1.496, allocations: 0.5132 MB / 1.018 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/1.496, allocations: 59.41 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/1.496, allocations: 88.94 kB / 1.019 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/1.496, allocations: 25.7 kB / 1.019 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/1.496, allocations: 84 kB / 1.019 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/1.497, allocations: 47.2 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.497, allocations: 0 / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.497, allocations: 313 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/1.497, allocations: 18.12 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/1.497, allocations: 24.25 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/1.497, allocations: 23.23 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.497, allocations: 0 / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/1.497, allocations: 82.84 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.497, allocations: 10.81 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.497, allocations: 3.984 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.497, allocations: 0 / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.497, allocations: 19.94 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.497, allocations: 4 kB / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/1.497, allocations: 0 / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.498, allocations: 11.42 kB / 1.019 GB, free: 1.855 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.0001062/1.498, allocations: 115.1 kB / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.498, allocations: 0 / 1.019 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/1.498, allocations: 101.1 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.498, allocations: 0 / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.498, allocations: 0 / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.498, allocations: 0 / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/1.499, allocations: 327.7 kB / 1.02 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.499, allocations: 4 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/1.499, allocations: 23.98 kB / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.499, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.499, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.499, allocations: 4 kB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.499, allocations: 0 / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003263/1.499, allocations: 208.7 kB / 1.02 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005556/1.5, allocations: 0.6046 MB / 1.021 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/1.5, allocations: 81.02 kB / 1.021 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/1.5, allocations: 0 / 1.021 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.5, allocations: 4 kB / 1.021 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/1.5, allocations: 3.984 kB / 1.021 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.5, allocations: 4 kB / 1.021 GB, free: 384 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.188e-05/1.5, allocations: 82.41 kB / 1.021 GB, free: 304 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001206/1.501, allocations: 50.73 kB / 1.021 GB, free: 256 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0003514/1.502, allocations: 135.3 kB / 1.021 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001971/1.502, allocations: 65.34 kB / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.502, allocations: 0 / 1.021 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/1.502, allocations: 30.69 kB / 1.021 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/1.502, allocations: 0 / 1.021 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/1.503, allocations: 223.6 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/1.503, allocations: 0.7036 MB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.503, allocations: 0 / 1.022 GB, free: 15.07 MB / 0.6511 GB