Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.151/2.151, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.002319/0.002319, allocations: 187.3 kB / 315.1 MB, free: 4.305 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.894/1.894, allocations: 205.1 MB / 0.5658 GB, free: 484 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.001281/0.00128, allocations: 98.62 kB / 0.67 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4585/0.4598, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.6756, allocations: 106.2 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/2.114, allocations: 415.3 MB / 1.289 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/2.115, allocations: 95.94 kB / 1.289 GB, free: 302.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 1.545/3.66, allocations: 346.8 MB / 1.628 GB, free: 183 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/3.66, allocations: 7.094 kB / 1.628 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/3.66, allocations: 90.38 kB / 1.628 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/3.701, allocations: 8.354 MB / 1.636 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/3.701, allocations: 14.5 kB / 1.636 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/3.701, allocations: 32.39 kB / 1.636 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009642/3.702, allocations: 310.8 kB / 1.636 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/3.703, allocations: 395.5 kB / 1.637 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/3.703, allocations: 3.25 kB / 1.637 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/3.703, allocations: 0 / 1.637 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/3.703, allocations: 11.75 kB / 1.637 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/3.709, allocations: 2.572 MB / 1.639 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/3.71, allocations: 295.7 kB / 1.64 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/3.71, allocations: 139.8 kB / 1.64 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/3.711, allocations: 1.433 MB / 1.641 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/3.711, allocations: 37.41 kB / 1.641 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.846e-06/3.711, allocations: 0 / 1.641 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.002339/3.714, allocations: 454.8 kB / 1.642 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/3.714, allocations: 55.62 kB / 1.642 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/3.715, allocations: 473.6 kB / 1.642 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/3.715, allocations: 25.7 kB / 1.642 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/3.715, allocations: 250.9 kB / 1.642 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/3.715, allocations: 119.2 kB / 1.642 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/3.715, allocations: 0 / 1.642 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001307/3.715, allocations: 371.5 kB / 1.643 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/3.716, allocations: 111.8 kB / 1.643 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/3.716, allocations: 193.6 kB / 1.643 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/3.718, allocations: 280.8 kB / 1.643 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/3.718, allocations: 0 / 1.643 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002616/3.721, allocations: 0.5363 MB / 1.644 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/3.721, allocations: 362.9 kB / 1.644 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/3.721, allocations: 3.891 kB / 1.644 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/3.721, allocations: 6.75 kB / 1.644 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/3.722, allocations: 108.5 kB / 1.644 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004096/3.722, allocations: 0.5882 MB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/3.723, allocations: 48.84 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/3.723, allocations: 25.25 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/3.723, allocations: 3.344 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002526/3.726, allocations: 450.7 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/3.726, allocations: 9.984 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/3.726, allocations: 3.938 kB / 1.645 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/3.727, allocations: 94.36 kB / 1.646 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/3.727, allocations: 6.844 kB / 1.646 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/3.728, allocations: 41.09 kB / 1.646 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/3.728, allocations: 22.64 kB / 1.646 GB, free: 177.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001988/3.728, allocations: 115 kB / 1.646 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/3.728, allocations: 68.69 kB / 1.646 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/3.732, allocations: 0.9163 MB / 1.647 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/3.732, allocations: 7.719 kB / 1.647 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/3.732, allocations: 0 / 1.647 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/3.732, allocations: 3.797 kB / 1.647 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/3.736, allocations: 1.356 MB / 1.648 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/3.737, allocations: 0 / 1.648 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/3.737, allocations: 85.2 kB / 1.648 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/3.737, allocations: 11.09 kB / 1.648 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/3.737, allocations: 10.06 kB / 1.648 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003003/3.738, allocations: 0.5948 MB / 1.649 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/3.738, allocations: 3.281 kB / 1.649 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00291/3.741, allocations: 1.033 MB / 1.65 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003887/3.745, allocations: 1.724 MB / 1.651 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/3.745, allocations: 215 kB / 1.652 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/3.745, allocations: 7.844 kB / 1.652 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/3.746, allocations: 24.97 kB / 1.652 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/3.746, allocations: 41.19 kB / 1.652 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/3.746, allocations: 17.59 kB / 1.652 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007007/3.747, allocations: 373.1 kB / 1.652 GB, free: 175 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004579/3.752, allocations: 0.6092 MB / 1.653 GB, free: 175 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.002026/3.754, allocations: 0.6406 MB / 1.653 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004533/3.758, allocations: 0.7068 MB / 1.654 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/3.759, allocations: 0 / 1.654 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/3.76, allocations: 323.3 kB / 1.654 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/3.765, allocations: 238.7 kB / 1.654 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/3.769, allocations: 1.086 MB / 1.656 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/3.771, allocations: 1.043 MB / 1.657 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.613e-06/3.771, allocations: 3.5 kB / 1.657 GB, free: 173.6 MB / 0.8542 GB