Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7368/0.7368, allocations: 141.8 MB / 149.1 MB, free: 3.684 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.8 kB / 181.9 MB, free: 15.46 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 436 MB, free: 8.598 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009621/0.000962, allocations: 96.75 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 261.7 kB / 0.5884 GB, free: 11.68 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.586e-06, allocations: 0 / 0.6759 GB, free: 2.023 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3883, allocations: 82.76 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.949/3.337, allocations: 1.673 GB / 2.429 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/3.338, allocations: 88.67 kB / 2.429 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.04896/3.387, allocations: 26.11 MB / 2.455 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 7.053e-06/3.387, allocations: 0 / 2.455 GB, free: 105.4 MB / 0.6982 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.0002553/3.387, allocations: 342.3 kB / 2.455 GB, free: 105 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/3.387, allocations: 12.02 kB / 2.455 GB, free: 105 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004825/3.387, allocations: 35.95 kB / 2.455 GB, free: 105 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/3.388, allocations: 172.3 kB / 2.455 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/3.388, allocations: 4 kB / 2.455 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/3.388, allocations: 0 / 2.455 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.075e-05/3.388, allocations: 12 kB / 2.455 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.088e-05/3.388, allocations: 37.67 kB / 2.455 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/3.388, allocations: 0 / 2.455 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/3.388, allocations: 7.922 kB / 2.455 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/3.388, allocations: 0 / 2.455 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/3.388, allocations: 225.5 kB / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/3.388, allocations: 30.52 kB / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/3.388, allocations: 12.91 kB / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/3.388, allocations: 0 / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/3.388, allocations: 34.66 kB / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/3.388, allocations: 0 / 2.456 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=2): time 0.000131/3.388, allocations: 44.17 kB / 2.456 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/3.388, allocations: 55.44 kB / 2.456 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/3.389, allocations: 101 kB / 2.456 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-06/3.389, allocations: 25.7 kB / 2.456 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/3.389, allocations: 84.08 kB / 2.456 GB, free: 104 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/3.389, allocations: 7.906 kB / 2.456 GB, free: 104 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/3.389, allocations: 0 / 2.456 GB, free: 104 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/3.389, allocations: 314.8 kB / 2.456 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/3.389, allocations: 7.984 kB / 2.456 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/3.389, allocations: 4 kB / 2.456 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/3.389, allocations: 12.28 kB / 2.456 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/3.389, allocations: 0 / 2.456 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.763e-05/3.389, allocations: 53.56 kB / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/3.389, allocations: 8 kB / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/3.389, allocations: 0 / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/3.389, allocations: 0 / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/3.389, allocations: 7.984 kB / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/3.389, allocations: 3.938 kB / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/3.389, allocations: 15.98 kB / 2.456 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/3.389, allocations: 0 / 2.456 GB, free: 103.6 MB / 0.6982 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 (3): * Single equations (assignments): 3 * 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 4.28e-05/3.389, allocations: 104.9 kB / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/3.389, allocations: 4 kB / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/3.389, allocations: 7.312 kB / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/3.389, allocations: 0 / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/3.389, allocations: 0 / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/3.389, allocations: 0 / 2.457 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/3.389, allocations: 134.1 kB / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/3.389, allocations: 4 kB / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/3.389, allocations: 5.312 kB / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/3.389, allocations: 3.984 kB / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/3.389, allocations: 0 / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/3.389, allocations: 3.938 kB / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/3.389, allocations: 0 / 2.457 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.21e-05/3.39, allocations: 135.5 kB / 2.457 GB, free: 103.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/3.39, allocations: 81.09 kB / 2.457 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/3.39, allocations: 7.969 kB / 2.457 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/3.39, allocations: 4 kB / 2.457 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/3.39, allocations: 7.906 kB / 2.457 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/3.39, allocations: 7.984 kB / 2.457 GB, free: 103 MB / 0.6982 GB Notification: Performance of sort global known variables: time 2.781e-05/3.39, allocations: 79.28 kB / 2.457 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0003355/3.39, allocations: 47.98 kB / 2.457 GB, free: 102.9 MB / 0.6982 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.000677/3.391, allocations: 0.6693 MB / 2.458 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/3.391, allocations: 12.55 kB / 2.458 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/3.391, allocations: 0 / 2.458 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-06/3.391, allocations: 4 kB / 2.458 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/3.391, allocations: 9.031 kB / 2.458 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/3.391, allocations: 67.7 kB / 2.458 GB, free: 102.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/3.392, allocations: 0.6958 MB / 2.458 GB, free: 101.4 MB / 0.6982 GB Notification: Performance of SimCode: time 2.51e-07/3.392, allocations: 0 / 2.458 GB, free: 101.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.006483/3.398, allocations: 4.101 MB / 2.463 GB, free: 97.29 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)