Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce") [: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.13/2.13, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001646/0.001646, allocations: 185.2 kB / 319.6 MB, free: 3.32 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.886/1.886, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001365/0.001365, allocations: 92.77 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.317e-06/9.438e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.691/0.8992, allocations: 132.3 MB / 1.017 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.8995, allocations: 77.62 kB / 1.017 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006028/0.9056, allocations: 0.9595 MB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.9056, allocations: 0 / 1.018 GB, free: 5.195 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004758/0.9061, allocations: 350.3 kB / 1.019 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9062, allocations: 16.02 kB / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.9062, allocations: 0 / 1.019 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.9064, allocations: 167 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.9064, allocations: 7.906 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.9064, allocations: 0 / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.349e-05/0.9065, allocations: 11.17 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.296e-05/0.9066, allocations: 37.62 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9067, allocations: 4 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.9067, allocations: 0 / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9067, allocations: 4 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.907, allocations: 233 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/0.9071, allocations: 25.64 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.9072, allocations: 8.922 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.9072, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.9072, allocations: 34.56 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.9072, allocations: 0 / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000181/0.9074, allocations: 46.31 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.9075, allocations: 55.41 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.9076, allocations: 89 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.9076, allocations: 25.7 kB / 1.019 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.9076, allocations: 86.48 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.9077, allocations: 3.938 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.9077, allocations: 0 / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9078, allocations: 330.6 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.9078, allocations: 4 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.9079, allocations: 4 kB / 1.02 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.9079, allocations: 7.438 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9079, allocations: 0 / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.415e-05/0.908, allocations: 36.89 kB / 1.02 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.908, allocations: 4 kB / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.908, allocations: 0 / 1.02 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9081, allocations: 12.08 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.9082, allocations: 8 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.9083, allocations: 0 / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9084, allocations: 15.89 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.9084, allocations: 0 / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.097e-05/0.9085, allocations: 105 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.9085, allocations: 0 / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.9087, allocations: 60.48 kB / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.9087, allocations: 0 / 1.02 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9087, allocations: 3.938 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9087, allocations: 0 / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.9089, allocations: 137.5 kB / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9089, allocations: 0 / 1.02 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.909, allocations: 12.03 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.909, allocations: 0 / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.909, allocations: 3.812 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9091, allocations: 4 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.9091, allocations: 7.891 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001313/0.9092, allocations: 131.1 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.9093, allocations: 89.05 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.9093, allocations: 0 / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.9094, allocations: 7.984 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.9095, allocations: 7.938 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.9095, allocations: 3.062 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.052e-05/0.9096, allocations: 86.77 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003261/0.9099, allocations: 15.94 kB / 1.02 GB, free: 2.727 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0002209/0.9101, allocations: 111.2 kB / 1.021 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.9102, allocations: 11.38 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9103, allocations: 0 / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.382e-05/0.9103, allocations: 11.44 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.9105, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.9108, allocations: 71.02 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.9111, allocations: 0.688 MB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/0.9111, allocations: 0 / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of Templates: time 0.003431/0.9145, allocations: 0.5696 MB / 1.022 GB, free: 1.234 MB / 0.6355 GB