Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.152/2.152, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001667/0.001667, allocations: 187.6 kB / 315.1 MB, free: 4.27 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.928/1.928, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001295/0.001295, allocations: 98.05 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5051/0.5064, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.734, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.841/6.575, allocations: 2.208 GB / 3.091 GB, free: 161 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/6.575, allocations: 87.48 kB / 3.091 GB, free: 161 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 4.892/11.47, allocations: 0.9708 GB / 4.062 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/11.47, allocations: 7.875 kB / 4.062 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/11.47, allocations: 0.5864 MB / 4.063 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/11.48, allocations: 1.065 MB / 4.064 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001282/11.48, allocations: 181.1 kB / 4.064 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005355/11.48, allocations: 54.78 kB / 4.064 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005383/11.49, allocations: 1.05 MB / 4.065 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005687/11.49, allocations: 1.047 MB / 4.066 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/11.49, allocations: 0 / 4.066 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/11.49, allocations: 0 / 4.066 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/11.49, allocations: 47.61 kB / 4.066 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0177/11.51, allocations: 4.079 MB / 4.07 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/11.51, allocations: 0.7242 MB / 4.071 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/11.51, allocations: 0.5091 MB / 4.071 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/11.52, allocations: 0.6195 MB / 4.072 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/11.52, allocations: 45.47 kB / 4.072 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/11.52, allocations: 0 / 4.072 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004593/11.52, allocations: 1.187 MB / 4.073 GB, free: 141 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/11.52, allocations: 62.88 kB / 4.073 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/11.52, allocations: 0.5692 MB / 4.074 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/11.52, allocations: 28.48 kB / 4.074 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/11.52, allocations: 333.6 kB / 4.074 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/11.52, allocations: 246.4 kB / 4.074 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/11.52, allocations: 3.531 kB / 4.074 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/11.52, allocations: 336 kB / 4.074 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/11.52, allocations: 401.4 kB / 4.075 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/11.53, allocations: 0.5443 MB / 4.075 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/11.53, allocations: 0.6133 MB / 4.076 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/11.53, allocations: 3.375 kB / 4.076 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00389/11.53, allocations: 1.225 MB / 4.077 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/11.53, allocations: 455.2 kB / 4.078 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/11.53, allocations: 3.312 kB / 4.078 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/11.53, allocations: 3.75 kB / 4.078 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/11.54, allocations: 290.5 kB / 4.078 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009549/11.54, allocations: 1.206 MB / 4.079 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/11.54, allocations: 186.2 kB / 4.079 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003949/11.54, allocations: 41.77 kB / 4.079 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/11.54, allocations: 3.688 kB / 4.079 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004183/11.54, allocations: 1.093 MB / 4.08 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/11.54, allocations: 0 / 4.08 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/11.54, allocations: 7.094 kB / 4.08 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/11.55, allocations: 269.2 kB / 4.081 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/11.55, allocations: 11.25 kB / 4.081 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/11.55, allocations: 181.6 kB / 4.081 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/11.55, allocations: 41.23 kB / 4.081 GB, free: 138.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004476/11.55, allocations: 114.6 kB / 4.081 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/11.55, allocations: 92.44 kB / 4.081 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/11.56, allocations: 1.277 MB / 4.082 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/11.56, allocations: 11.11 kB / 4.082 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/11.56, allocations: 3.562 kB / 4.082 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/11.56, allocations: 3.094 kB / 4.082 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008742/11.56, allocations: 2.652 MB / 4.085 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/11.56, allocations: 5.312 kB / 4.085 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002988/11.57, allocations: 270.4 kB / 4.085 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.262e-05/11.57, allocations: 11.45 kB / 4.085 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/11.57, allocations: 14.86 kB / 4.085 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000659/11.57, allocations: 1.199 MB / 4.086 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/11.57, allocations: 6.438 kB / 4.086 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004065/11.57, allocations: 1.539 MB / 4.088 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004928/11.58, allocations: 2.064 MB / 4.09 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/11.58, allocations: 303.2 kB / 4.09 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/11.58, allocations: 4.781 kB / 4.09 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/11.58, allocations: 171.3 kB / 4.09 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/11.58, allocations: 52.88 kB / 4.09 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/11.58, allocations: 47.17 kB / 4.09 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001272/11.58, allocations: 440.7 kB / 4.091 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008171/11.59, allocations: 1.283 MB / 4.092 GB, free: 134.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006415/11.6, allocations: 2.632 MB / 4.095 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005712/11.6, allocations: 1.616 MB / 4.096 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/11.6, allocations: 5.406 kB / 4.096 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/11.61, allocations: 0.5401 MB / 4.097 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/11.61, allocations: 407.4 kB / 4.097 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0382/11.65, allocations: 2.391 MB / 4.1 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/11.65, allocations: 1.239 MB / 4.101 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.322e-06/11.65, allocations: 0 / 4.101 GB, free: 132.3 MB / 0.8855 GB