Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.247/2.247, allocations: 253.1 MB / 260.4 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00186/0.00186, allocations: 181.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001837/0.001837, allocations: 95.31 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.238e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.33/6.526, allocations: 2.5 GB / 3.388 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/6.527, allocations: 102.1 kB / 3.388 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.834/14.36, allocations: 1.622 GB / 5.01 GB, free: 96.53 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004696/14.36, allocations: 70.27 kB / 5.01 GB, free: 96.53 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01568/14.38, allocations: 2.937 MB / 5.013 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/14.38, allocations: 11.77 kB / 5.013 GB, free: 95.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009012/14.39, allocations: 0.7842 MB / 5.013 GB, free: 95.35 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/14.4, allocations: 2.836 MB / 5.016 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/14.4, allocations: 59.84 kB / 5.016 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005688/14.4, allocations: 114.4 kB / 5.016 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005701/14.4, allocations: 1.788 MB / 5.018 GB, free: 94.92 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/14.41, allocations: 1.986 MB / 5.02 GB, free: 94.73 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/14.41, allocations: 3.906 kB / 5.02 GB, free: 94.72 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/14.41, allocations: 3.688 kB / 5.02 GB, free: 94.72 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.741e-05/14.41, allocations: 79.11 kB / 5.02 GB, free: 94.72 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02533/14.44, allocations: 9.816 MB / 5.03 GB, free: 90.48 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/14.44, allocations: 1.138 MB / 5.031 GB, free: 90.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/14.44, allocations: 0.6267 MB / 5.032 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/14.45, allocations: 2.463 MB / 5.034 GB, free: 89.27 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/14.45, allocations: 49.75 kB / 5.034 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=104): time 3.947e-06/14.45, allocations: 4.094 kB / 5.034 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106): time 0.01417/14.46, allocations: 3.191 MB / 5.037 GB, free: 88.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/14.46, allocations: 59.47 kB / 5.037 GB, free: 88.44 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/14.46, allocations: 1.443 MB / 5.039 GB, free: 88.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003942/14.47, allocations: 29.33 kB / 5.039 GB, free: 88.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006586/14.47, allocations: 0.8163 MB / 5.039 GB, free: 87.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006708/14.47, allocations: 363.7 kB / 5.04 GB, free: 87.53 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/14.47, allocations: 3.75 kB / 5.04 GB, free: 87.53 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001259/14.47, allocations: 357 kB / 5.04 GB, free: 87.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/14.47, allocations: 472.8 kB / 5.041 GB, free: 87.22 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/14.47, allocations: 1.036 MB / 5.042 GB, free: 86.54 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.04099/14.51, allocations: 3.336 MB / 5.045 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/14.51, allocations: 5.156 kB / 5.045 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.007911/14.52, allocations: 1.833 MB / 5.047 GB, free: 86.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001363/14.52, allocations: 5.87 MB / 5.052 GB, free: 80.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/14.52, allocations: 17.28 kB / 5.052 GB, free: 80.18 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/14.52, allocations: 364.7 kB / 5.053 GB, free: 80.17 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/14.53, allocations: 298.6 kB / 5.053 GB, free: 80.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/14.53, allocations: 1.044 MB / 5.054 GB, free: 79.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/14.53, allocations: 136 kB / 5.054 GB, free: 79.62 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/14.53, allocations: 75.27 kB / 5.054 GB, free: 79.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/14.53, allocations: 3.344 kB / 5.054 GB, free: 79.62 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006844/14.54, allocations: 1.572 MB / 5.056 GB, free: 79.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-05/14.54, allocations: 19.3 kB / 5.056 GB, free: 79.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/14.54, allocations: 372.1 kB / 5.056 GB, free: 79.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/14.55, allocations: 298.2 kB / 5.056 GB, free: 79.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/14.55, allocations: 1.049 MB / 5.057 GB, free: 79.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/14.55, allocations: 102 kB / 5.057 GB, free: 79.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/14.55, allocations: 86.42 kB / 5.058 GB, free: 79.02 MB / 0.9323 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005787/14.55, allocations: 162.1 kB / 5.058 GB, free: 78.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007499/14.55, allocations: 209.1 kB / 5.058 GB, free: 78.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/14.56, allocations: 1.497 MB / 5.059 GB, free: 78.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/14.56, allocations: 10.69 kB / 5.059 GB, free: 78.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/14.56, allocations: 3.906 kB / 5.059 GB, free: 78.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006093/14.57, allocations: 1.147 MB / 5.061 GB, free: 78.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/14.58, allocations: 3.529 MB / 5.064 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/14.58, allocations: 8.344 kB / 5.064 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/14.58, allocations: 185.7 kB / 5.064 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00339/14.59, allocations: 331.6 kB / 5.064 GB, free: 77.96 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/14.59, allocations: 19.61 kB / 5.064 GB, free: 77.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/14.59, allocations: 0.9875 MB / 5.065 GB, free: 77.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/14.59, allocations: 6.875 kB / 5.065 GB, free: 77.43 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007572/14.6, allocations: 2.64 MB / 5.068 GB, free: 76.26 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/14.6, allocations: 426.7 kB / 5.068 GB, free: 76.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/14.6, allocations: 8.969 kB / 5.068 GB, free: 76.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/14.6, allocations: 80.12 kB / 5.069 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/14.6, allocations: 74.81 kB / 5.069 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/14.6, allocations: 51.14 kB / 5.069 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.003454/14.61, allocations: 1.081 MB / 5.07 GB, free: 75.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008277/14.61, allocations: 1.267 MB / 5.071 GB, free: 75.84 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.008769/14.62, allocations: 3.904 MB / 5.075 GB, free: 74.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007853/14.63, allocations: 2.015 MB / 5.077 GB, free: 74.31 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.309e-05/14.63, allocations: 6.562 kB / 5.077 GB, free: 74.31 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002109/14.63, allocations: 0.5352 MB / 5.077 GB, free: 74.31 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/14.64, allocations: 1.059 MB / 5.078 GB, free: 74.29 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/14.66, allocations: 3.997 MB / 5.082 GB, free: 73.29 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002745/14.66, allocations: 1.922 MB / 5.084 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of SimCode: time 1.472e-06/14.66, allocations: 2.406 kB / 5.084 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of Templates: time 0.1651/14.83, allocations: 66.7 MB / 5.149 GB, free: 69.36 MB / 0.9323 GB