Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [: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.116/2.116, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001745/0.001745, allocations: 181.9 kB / 319.6 MB, free: 3.312 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 1.833/1.833, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001346/0.001346, allocations: 91.27 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.405e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2393, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/6.352, allocations: 2.459 GB / 3.347 GB, free: 272 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/6.352, allocations: 95.94 kB / 3.347 GB, free: 271.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.052/11.4, allocations: 1.082 GB / 4.429 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002829/11.4, allocations: 59 kB / 4.429 GB, free: 115.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007813/11.41, allocations: 2.113 MB / 4.431 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/11.41, allocations: 7.656 kB / 4.431 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/11.42, allocations: 389.5 kB / 4.432 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/11.42, allocations: 1.654 MB / 4.433 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/11.42, allocations: 49.5 kB / 4.433 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003436/11.42, allocations: 85.47 kB / 4.433 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003364/11.43, allocations: 0.9497 MB / 4.434 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004261/11.43, allocations: 1.227 MB / 4.435 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/11.43, allocations: 10.41 kB / 4.435 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/11.43, allocations: 0 / 4.435 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-05/11.43, allocations: 57.17 kB / 4.436 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/11.45, allocations: 7.231 MB / 4.443 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/11.45, allocations: 0.7699 MB / 4.443 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/11.45, allocations: 387.5 kB / 4.444 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/11.45, allocations: 0.7209 MB / 4.444 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/11.45, allocations: 47.38 kB / 4.444 GB, free: 109 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 4.388e-06/11.45, allocations: 3.797 kB / 4.444 GB, free: 109 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.005925/11.46, allocations: 1.191 MB / 4.446 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/11.46, allocations: 59 kB / 4.446 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/11.46, allocations: 0.9336 MB / 4.447 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002662/11.46, allocations: 29.36 kB / 4.447 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/11.46, allocations: 0.5708 MB / 4.447 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/11.46, allocations: 250.6 kB / 4.447 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/11.46, allocations: 0 / 4.447 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/11.46, allocations: 343.2 kB / 4.448 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/11.46, allocations: 276.2 kB / 4.448 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/11.46, allocations: 0.5496 MB / 4.449 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/11.46, allocations: 453.6 kB / 4.449 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/11.46, allocations: 0 / 4.449 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005303/11.47, allocations: 1.252 MB / 4.45 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004326/11.47, allocations: 1.957 MB / 4.452 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/11.47, allocations: 3.875 kB / 4.452 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/11.47, allocations: 382.1 kB / 4.452 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/11.47, allocations: 147.6 kB / 4.453 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/11.47, allocations: 2.144 MB / 4.455 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/11.48, allocations: 147.7 kB / 4.455 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/11.48, allocations: 45.36 kB / 4.455 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/11.48, allocations: 1.906 kB / 4.455 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004727/11.48, allocations: 1.06 MB / 4.456 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/11.48, allocations: 4.375 kB / 4.456 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/11.49, allocations: 380.4 kB / 4.456 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/11.49, allocations: 152.1 kB / 4.456 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/11.49, allocations: 3.778 MB / 4.46 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/11.49, allocations: 144.6 kB / 4.46 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/11.49, allocations: 41.09 kB / 4.46 GB, free: 100.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003601/11.49, allocations: 120.8 kB / 4.46 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/11.5, allocations: 148.1 kB / 4.461 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/11.5, allocations: 1.249 MB / 4.462 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/11.5, allocations: 6.656 kB / 4.462 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/11.5, allocations: 0 / 4.462 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004606/11.51, allocations: 1.336 MB / 4.463 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/11.51, allocations: 2.544 MB / 4.466 GB, free: 99.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/11.51, allocations: 3.812 kB / 4.466 GB, free: 99.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009805/11.51, allocations: 105.8 kB / 4.466 GB, free: 99.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002704/11.52, allocations: 369.5 kB / 4.466 GB, free: 99.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/11.52, allocations: 7.094 kB / 4.466 GB, free: 99.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/11.52, allocations: 2.125 MB / 4.468 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/11.52, allocations: 3.25 kB / 4.468 GB, free: 97.49 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003601/11.52, allocations: 1.341 MB / 4.469 GB, free: 96.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/11.52, allocations: 329.6 kB / 4.47 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/11.53, allocations: 11.47 kB / 4.47 GB, free: 96.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/11.53, allocations: 114.7 kB / 4.47 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/11.53, allocations: 44.11 kB / 4.47 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/11.53, allocations: 31.14 kB / 4.47 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001914/11.53, allocations: 0.7093 MB / 4.471 GB, free: 96.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006375/11.54, allocations: 1.049 MB / 4.472 GB, free: 96.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * 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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005275/11.54, allocations: 2.537 MB / 4.474 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004544/11.55, allocations: 1.464 MB / 4.476 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/11.55, allocations: 3.5 kB / 4.476 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/11.55, allocations: 425.9 kB / 4.476 GB, free: 95.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006993/11.55, allocations: 0.7023 MB / 4.477 GB, free: 95.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007494/11.56, allocations: 1.998 MB / 4.479 GB, free: 94.78 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/11.56, allocations: 1.488 MB / 4.48 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/11.56, allocations: 2.25 kB / 4.48 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of Templates: time 0.1228/11.69, allocations: 44.52 MB / 4.524 GB, free: 71.35 MB / 0.8855 GB