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_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001719/0.001719, allocations: 189.2 kB / 315.1 MB, free: 4.285 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.902/1.902, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001293/0.001293, allocations: 94.52 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4879/0.4892, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.711, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6706/1.382, allocations: 132.4 MB / 1.013 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.382, allocations: 80.56 kB / 1.013 GB, free: 7.777 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.01598/1.398, allocations: 2.827 MB / 1.016 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.398, allocations: 8 kB / 1.016 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/1.398, allocations: 4 kB / 1.016 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.398, allocations: 167 kB / 1.016 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.398, allocations: 7.891 kB / 1.016 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.398, allocations: 8 kB / 1.016 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.757e-05/1.398, allocations: 7.625 kB / 1.016 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/1.398, allocations: 33.7 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.398, allocations: 0 / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.399, allocations: 3.984 kB / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.399, allocations: 0 / 1.016 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/1.399, allocations: 132.8 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/1.399, allocations: 33.34 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/1.399, allocations: 23.55 kB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/1.399, allocations: 0 / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.399, allocations: 30.56 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/1.399, allocations: 0 / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006965/1.4, allocations: 283.3 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.4, allocations: 56.19 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/1.4, allocations: 93 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.4, allocations: 25.7 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/1.4, allocations: 80.14 kB / 1.017 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/1.4, allocations: 18.77 kB / 1.017 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/1.4, allocations: 4 kB / 1.017 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.4, allocations: 314.2 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/1.4, allocations: 11.25 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/1.4, allocations: 8 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/1.4, allocations: 14.98 kB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.4, allocations: 4 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001541/1.401, allocations: 64.78 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.401, allocations: 4 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.401, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.401, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/1.401, allocations: 22.98 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.401, allocations: 0 / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/1.401, allocations: 0 / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/1.401, allocations: 0 / 1.017 GB, free: 3.805 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 9.143e-05/1.401, allocations: 111 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/1.401, allocations: 4 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/1.401, allocations: 68.92 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.401, allocations: 4.375 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.401, allocations: 0 / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.401, allocations: 3.906 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/1.402, allocations: 282 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.402, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/1.402, allocations: 15.98 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/1.402, allocations: 4.031 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.402, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.402, allocations: 4 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.402, allocations: 8.078 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002645/1.402, allocations: 193.9 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003867/1.403, allocations: 0.5587 MB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.951e-05/1.403, allocations: 88.59 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/1.403, allocations: 0 / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.403, allocations: 0 / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/1.403, allocations: 7.906 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.403, allocations: 4.062 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.178e-05/1.403, allocations: 87.2 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001167/1.404, allocations: 27.75 kB / 1.018 GB, free: 2.273 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.0002661/1.405, allocations: 131.1 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001329/1.405, allocations: 26.94 kB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.405, allocations: 0 / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/1.405, allocations: 23.17 kB / 1.019 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/1.405, allocations: 4 kB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/1.405, allocations: 144.1 kB / 1.019 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.406, allocations: 0.6951 MB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/1.406, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.6355 GB