Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.427/2.427, allocations: 248.6 MB / 255.9 MB, free: 7.074 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.001644/0.001643, allocations: 173.3 kB / 315.1 MB, free: 4.23 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.944/1.944, allocations: 205.1 MB / 0.5658 GB, free: 332 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.001398/0.001398, allocations: 83.34 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4743/0.4757, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.6799, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.655/1.335, allocations: 133.4 MB / 1.014 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/1.335, allocations: 79.64 kB / 1.014 GB, free: 6.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.02935/1.365, allocations: 5.317 MB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.365, allocations: 8 kB / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/1.365, allocations: 0 / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/1.365, allocations: 163 kB / 1.019 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/1.365, allocations: 4 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/1.365, allocations: 3.906 kB / 1.019 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.009e-05/1.365, allocations: 15.05 kB / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.967e-05/1.365, allocations: 37.39 kB / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.365, allocations: 0 / 1.019 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.365, allocations: 4 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.365, allocations: 0 / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/1.366, allocations: 228.5 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.366, allocations: 45.38 kB / 1.02 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/1.366, allocations: 15.73 kB / 1.02 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/1.366, allocations: 4 kB / 1.02 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.366, allocations: 34.56 kB / 1.02 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/1.366, allocations: 0 / 1.02 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001865/1.366, allocations: 45.72 kB / 1.02 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/1.366, allocations: 51.41 kB / 1.02 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.366, allocations: 105.9 kB / 1.02 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/1.366, allocations: 25.7 kB / 1.02 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/1.367, allocations: 80.14 kB / 1.02 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/1.367, allocations: 15.62 kB / 1.02 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.367, allocations: 4 kB / 1.02 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.367, allocations: 310.8 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/1.367, allocations: 7.938 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/1.367, allocations: 21.33 kB / 1.02 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/1.367, allocations: 14.88 kB / 1.02 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.367, allocations: 0 / 1.02 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001225/1.367, allocations: 49.62 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.367, allocations: 11.94 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.367, allocations: 3.938 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.367, allocations: 0 / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/1.367, allocations: 11.94 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.367, allocations: 3.984 kB / 1.02 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/1.367, allocations: 4 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/1.367, allocations: 0 / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.572e-05/1.367, allocations: 105 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/1.367, allocations: 7.906 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.368, allocations: 64.77 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.368, allocations: 0 / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.368, allocations: 0 / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.368, allocations: 0 / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.368, allocations: 137.1 kB / 1.021 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.368, allocations: 0 / 1.021 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/1.368, allocations: 11.94 kB / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.368, allocations: 0 / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/1.368, allocations: 0 / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/1.368, allocations: 12.11 kB / 1.021 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.368, allocations: 0 / 1.021 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001606/1.368, allocations: 146.1 kB / 1.021 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003603/1.369, allocations: 0.5098 MB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/1.369, allocations: 92.05 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/1.369, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/1.369, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/1.369, allocations: 4 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/1.369, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.366e-05/1.369, allocations: 83.27 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001166/1.37, allocations: 27.34 kB / 1.021 GB, free: 15.62 MB / 0.6511 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 (4): * Single equations (assignments): 4 * 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.0002676/1.37, allocations: 119.2 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001667/1.37, allocations: 27.86 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.37, allocations: 3.938 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/1.371, allocations: 11.94 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/1.371, allocations: 7.812 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/1.371, allocations: 63.77 kB / 1.022 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/1.371, allocations: 0.6952 MB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.371, allocations: 0 / 1.022 GB, free: 14.64 MB / 0.6511 GB