Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce",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 8.0.1-maint.8.0.x/package.mo): time 1.399/1.399, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 181.3 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008206/0.0008205, allocations: 88.33 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2121/0.2129, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.7322, allocations: 115.3 MB / 0.9638 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.8863, allocations: 137.8 MB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.8866, allocations: 71.95 kB / 1.098 GB, free: 2.133 MB / 0.698 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.00419/0.8908, allocations: 1.302 MB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8908, allocations: 8.625 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.8909, allocations: 3.906 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.891, allocations: 169.4 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.8911, allocations: 0 / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8911, allocations: 0 / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.477e-05/0.8912, allocations: 12 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.564e-05/0.8912, allocations: 35.44 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.8913, allocations: 0.5625 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8913, allocations: 3.906 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8913, allocations: 0 / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.8916, allocations: 230.6 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.8917, allocations: 31.92 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.8917, allocations: 13.41 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.8918, allocations: 8.719 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.8918, allocations: 40.78 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.8918, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.8919, allocations: 37.7 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.892, allocations: 51.41 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.892, allocations: 89.7 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.8921, allocations: 25.7 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.8921, allocations: 84.12 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.8921, allocations: 11.91 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.8921, allocations: 4.031 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.8922, allocations: 314.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.8923, allocations: 4 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.8923, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.8923, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8923, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.834e-05/0.8924, allocations: 49.59 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8924, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8924, allocations: 4.094 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8925, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.8926, allocations: 10 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8926, allocations: 3.984 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.8926, allocations: 11.94 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.8926, allocations: 4 kB / 1.101 GB, free: 15.45 MB / 0.7136 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.078e-05/0.8927, allocations: 108.9 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.8928, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.8929, allocations: 48.94 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.8929, allocations: 0.7969 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8929, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8929, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.893, allocations: 143.6 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8931, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.8931, allocations: 16.03 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8931, allocations: 3.984 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.8932, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8932, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8932, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001034/0.8933, allocations: 149.2 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001824/0.8935, allocations: 0.5063 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.8935, allocations: 77.67 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.8935, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.8936, allocations: 16.05 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.8937, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.8937, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.302e-05/0.8937, allocations: 87.83 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007985/0.8945, allocations: 23.84 kB / 1.102 GB, free: 14.18 MB / 0.7136 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.0001768/0.8947, allocations: 116.7 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.8948, allocations: 19.94 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8948, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.8948, allocations: 4 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.895, allocations: 9.5 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.8952, allocations: 53.86 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.8955, allocations: 0.6919 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8955, allocations: 0 / 1.103 GB, free: 13.24 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)