Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.3/2.3, 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.001689/0.001689, allocations: 181.2 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.993/1.993, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001671/0.001671, allocations: 87.38 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.472/0.4737, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.6869, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6594/1.346, allocations: 132.2 MB / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.347, allocations: 75.08 kB / 1.013 GB, free: 7.875 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01799/1.365, allocations: 3.426 MB / 1.016 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.365, allocations: 16 kB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/1.365, allocations: 3.906 kB / 1.016 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.365, allocations: 163.1 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.365, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.365, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.027e-05/1.365, allocations: 4 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/1.365, allocations: 33.61 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.365, allocations: 0 / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/1.365, allocations: 0 / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.365, allocations: 0 / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/1.365, allocations: 137.4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.026e-05/1.365, allocations: 26.48 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/1.366, allocations: 4.859 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/1.366, allocations: 4.062 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.366, allocations: 30.56 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.366, allocations: 0 / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001646/1.366, allocations: 42.64 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.366, allocations: 51.41 kB / 1.017 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/1.366, allocations: 92.36 kB / 1.017 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/1.366, allocations: 25.7 kB / 1.017 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/1.366, allocations: 84.14 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/1.366, allocations: 3.906 kB / 1.017 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/1.366, allocations: 0 / 1.017 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.366, allocations: 314.7 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/1.366, allocations: 7.938 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/1.366, allocations: 4 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/1.366, allocations: 0 / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.366, allocations: 7.938 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.011e-05/1.366, allocations: 37.69 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.366, allocations: 4 kB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.366, allocations: 3.938 kB / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.366, allocations: 0 / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/1.367, allocations: 11.98 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005356/1.367, allocations: 0.5973 MB / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/1.367, allocations: 0 / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.367, allocations: 0 / 1.018 GB, free: 3.148 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/1.367, allocations: 104.9 kB / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/1.367, allocations: 4.031 kB / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/1.368, allocations: 53.05 kB / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.368, allocations: 0 / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.368, allocations: 0 / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.368, allocations: 0 / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.368, allocations: 137.2 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.368, allocations: 0 / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.368, allocations: 8 kB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/1.368, allocations: 0 / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.368, allocations: 0 / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004517/1.369, allocations: 0.5975 MB / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.369, allocations: 0 / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.276e-05/1.369, allocations: 56.11 kB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000262/1.369, allocations: 452.2 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/1.369, allocations: 81.11 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/1.369, allocations: 3.984 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/1.369, allocations: 3.984 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/1.369, allocations: 3.906 kB / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.369, allocations: 0 / 1.019 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.769e-05/1.369, allocations: 83.31 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001111/1.37, allocations: 15.88 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/1.371, allocations: 111.2 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00032/1.371, allocations: 15.98 kB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.371, allocations: 4 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/1.371, allocations: 11.98 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.371, allocations: 4.219 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/1.372, allocations: 63.61 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/1.372, allocations: 0.6841 MB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/1.372, allocations: 0 / 1.02 GB, free: 0.5078 MB / 0.6355 GB