Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 186.2 kB / 7.802 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.492/0.492, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.4 MB / 342.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 109.5 kB / 415.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2445/0.2463, allocations: 78.46 MB / 494 MB, free: 7.926 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.816, allocations: 72.3 MB / 0.553 GB, free: 73.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.946, allocations: 102 MB / 0.6526 GB, free: 8.023 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.9464, allocations: 80.8 kB / 0.6527 GB, free: 7.945 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01014/0.9565, allocations: 2.925 MB / 0.6555 GB, free: 5.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.9566, allocations: 10.16 kB / 0.6555 GB, free: 5.023 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.9571, allocations: 32.5 kB / 0.6556 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.9573, allocations: 159.6 kB / 0.6557 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.9574, allocations: 1.719 kB / 0.6557 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.9574, allocations: 11.84 kB / 0.6557 GB, free: 4.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/0.9575, allocations: 19.98 kB / 0.6558 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.9577, allocations: 45.67 kB / 0.6558 GB, free: 4.715 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.9577, allocations: 4.531 kB / 0.6558 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.9577, allocations: 1.844 kB / 0.6558 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.9577, allocations: 0 / 0.6558 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.958, allocations: 147.7 kB / 0.656 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.9582, allocations: 38.39 kB / 0.656 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.9583, allocations: 24.77 kB / 0.656 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.9583, allocations: 0.625 kB / 0.656 GB, free: 4.461 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.9583, allocations: 35.19 kB / 0.656 GB, free: 4.418 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.9584, allocations: 0.5312 kB / 0.656 GB, free: 4.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.002/0.9604, allocations: 422.9 kB / 0.6565 GB, free: 3.953 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.9604, allocations: 51.41 kB / 0.6565 GB, free: 3.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.9605, allocations: 89 kB / 0.6566 GB, free: 3.797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.9605, allocations: 25.7 kB / 0.6566 GB, free: 3.766 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.9606, allocations: 88.2 kB / 0.6567 GB, free: 3.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.9606, allocations: 27.64 kB / 0.6567 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.9606, allocations: 3.938 kB / 0.6567 GB, free: 3.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9608, allocations: 313.5 kB / 0.657 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.9609, allocations: 35.97 kB / 0.6571 GB, free: 3.297 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.9609, allocations: 20 kB / 0.6571 GB, free: 3.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.961, allocations: 35.97 kB / 0.6571 GB, free: 3.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.961, allocations: 0 / 0.6571 GB, free: 3.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002417/0.9613, allocations: 97.55 kB / 0.6572 GB, free: 3.141 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9613, allocations: 8 kB / 0.6572 GB, free: 3.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9613, allocations: 4 kB / 0.6572 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.9614, allocations: 0 / 0.6572 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.9616, allocations: 26.34 kB / 0.6572 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.9616, allocations: 0 / 0.6572 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.9618, allocations: 7.984 kB / 0.6572 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.9619, allocations: 0 / 0.6572 GB, free: 3.098 MB / 474.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 (7): * Single equations (assignments): 7 * 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.193e-05/0.962, allocations: 112.9 kB / 0.6574 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.962, allocations: 8.094 kB / 0.6574 GB, free: 2.973 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.9621, allocations: 20.03 kB / 0.6574 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9621, allocations: 0 / 0.6574 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.9621, allocations: 0 / 0.6574 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9621, allocations: 3.375 kB / 0.6574 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.9623, allocations: 176.7 kB / 0.6576 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9623, allocations: 0 / 0.6576 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.9626, allocations: 23.97 kB / 0.6576 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9626, allocations: 0 / 0.6576 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.9627, allocations: 7.984 kB / 0.6576 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.9627, allocations: 0 / 0.6576 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9627, allocations: 0 / 0.6576 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003814/0.9631, allocations: 171.7 kB / 0.6577 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005751/0.9637, allocations: 0.5679 MB / 0.6583 GB, free: 1.934 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.9637, allocations: 81.23 kB / 0.6584 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.9638, allocations: 0 / 0.6584 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.964, allocations: 11.98 kB / 0.6584 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.964, allocations: 0 / 0.6584 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.9641, allocations: 11.89 kB / 0.6584 GB, free: 1.812 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.585e-05/0.9641, allocations: 79.22 kB / 0.6585 GB, free: 1.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009167/0.9651, allocations: 40 kB / 0.6585 GB, free: 1.695 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003214/0.9654, allocations: 140.9 kB / 0.6587 GB, free: 1.551 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.9656, allocations: 63.97 kB / 0.6587 GB, free: 1.488 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.9656, allocations: 0 / 0.6587 GB, free: 1.488 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.9657, allocations: 35.98 kB / 0.6587 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.9659, allocations: 11.12 kB / 0.6588 GB, free: 1.445 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/0.9666, allocations: 132.1 kB / 0.6589 GB, free: 1.293 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.967, allocations: 0.7095 MB / 0.6596 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9671, allocations: 0 / 0.6596 GB, free: 0.5586 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)