Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [: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 1.6.0+build.1/package.mo): time 0.4874/0.4874, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001183/0.001182, allocations: 174.1 kB / 125.3 MB, free: 11.97 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.122/1.122, allocations: 170.5 MB / 319 MB, free: 9.461 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 116.7 kB / 381 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.746e-06, allocations: 4.219 kB / 448.6 MB, free: 172 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 61.53 MB / 0.4981 GB, free: 2.551 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4292, allocations: 95.02 MB / 0.5909 GB, free: 4.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.4295, allocations: 79.95 kB / 0.591 GB, free: 4.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.008566/0.4381, allocations: 2.26 MB / 0.5932 GB, free: 1.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4381, allocations: 4 kB / 0.5932 GB, free: 1.824 MB / 410.7 MB 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.0004528/0.4386, allocations: 378.3 kB / 0.5936 GB, free: 1.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4386, allocations: 9.031 kB / 0.5936 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.4387, allocations: 1.562 kB / 0.5936 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4388, allocations: 169.7 kB / 0.5937 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4388, allocations: 3.938 kB / 0.5937 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.4389, allocations: 0 / 0.5937 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.876e-05/0.4389, allocations: 9.859 kB / 0.5938 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.439, allocations: 40.42 kB / 0.5938 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.439, allocations: 0 / 0.5938 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4391, allocations: 0 / 0.5938 GB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4391, allocations: 4.75 kB / 0.5938 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.4394, allocations: 229.4 kB / 0.594 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.4395, allocations: 34.33 kB / 0.5941 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.4395, allocations: 8.922 kB / 0.5941 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4396, allocations: 0 / 0.5941 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4396, allocations: 38.56 kB / 0.5941 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4396, allocations: 0 / 0.5941 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.4398, allocations: 41.61 kB / 0.5941 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4398, allocations: 52.44 kB / 0.5942 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.4399, allocations: 99.45 kB / 0.5943 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4399, allocations: 25.7 kB / 0.5943 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.44, allocations: 80.14 kB / 0.5944 GB, free: 468 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.44, allocations: 7.844 kB / 0.5944 GB, free: 460 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.44, allocations: 0 / 0.5944 GB, free: 460 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4402, allocations: 322.9 kB / 0.5947 GB, free: 128 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.4402, allocations: 0 / 0.5947 GB, free: 128 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.4402, allocations: 7.938 kB / 0.5947 GB, free: 120 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.4403, allocations: 8 kB / 0.5947 GB, free: 112 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4403, allocations: 0 / 0.5947 GB, free: 112 kB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.384e-05/0.4404, allocations: 48.78 kB / 0.5948 GB, free: 60 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4404, allocations: 4 kB / 0.5948 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4404, allocations: 4 kB / 0.5948 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4404, allocations: 4.094 kB / 0.5948 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4405, allocations: 11.98 kB / 0.5948 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4405, allocations: 0 / 0.5948 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.4406, allocations: 8 kB / 0.5948 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4406, allocations: 0 / 0.5948 GB, free: 28 kB / 410.7 MB 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 9.034e-05/0.4407, allocations: 109.8 kB / 0.5949 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.4408, allocations: 7.906 kB / 0.5949 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.4409, allocations: 52.89 kB / 0.595 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4409, allocations: 0 / 0.595 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4409, allocations: 1.5 kB / 0.595 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4409, allocations: 2.25 kB / 0.595 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4411, allocations: 138.1 kB / 0.5951 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4411, allocations: 0 / 0.5951 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.4412, allocations: 16.02 kB / 0.5951 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4412, allocations: 4 kB / 0.5951 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4412, allocations: 2.953 kB / 0.5951 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4412, allocations: 0 / 0.5951 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4412, allocations: 0 / 0.5951 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000132/0.4414, allocations: 135.5 kB / 0.5952 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.4414, allocations: 86.14 kB / 0.5953 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.4414, allocations: 0 / 0.5953 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.4415, allocations: 10.34 kB / 0.5953 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.4416, allocations: 7.922 kB / 0.5953 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.4416, allocations: 0 / 0.5953 GB, free: 15.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.093e-05/0.4416, allocations: 83.28 kB / 0.5954 GB, free: 15.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00027/0.4419, allocations: 31.94 kB / 0.5955 GB, free: 15.28 MB / 426.7 MB 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.0002669/0.4422, allocations: 127.2 kB / 0.5956 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.4423, allocations: 12 kB / 0.5956 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4423, allocations: 0 / 0.5956 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.4423, allocations: 12 kB / 0.5956 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.4425, allocations: 7.844 kB / 0.5956 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.4427, allocations: 61.55 kB / 0.5957 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.443, allocations: 0.688 MB / 0.5963 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.443, allocations: 0 / 0.5963 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.002997/0.446, allocations: 0.8004 MB / 0.5971 GB, free: 13.57 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)