Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.001953/0.001953, allocations: 191.5 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4855/0.4855, allocations: 90.86 MB / 99.07 MB, free: 14.95 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.493/1.493, allocations: 221.4 MB / 342.8 MB, free: 5.18 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.001372/0.001372, allocations: 106.2 kB / 415.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2571/0.2586, allocations: 78.46 MB / 494 MB, free: 7.902 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.8591, allocations: 72.31 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.9997, allocations: 101 MB / 0.6516 GB, free: 8.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/1, allocations: 80.91 kB / 0.6517 GB, free: 8.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006543/1.007, allocations: 1.876 MB / 0.6535 GB, free: 6.953 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.007, allocations: 12 kB / 0.6536 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/1.007, allocations: 13.11 kB / 0.6536 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.007, allocations: 159.1 kB / 0.6537 GB, free: 6.734 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.007, allocations: 4.688 kB / 0.6537 GB, free: 6.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/1.007, allocations: 0 / 0.6537 GB, free: 6.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000111/1.007, allocations: 13.59 kB / 0.6537 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.007, allocations: 41.59 kB / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.007, allocations: 0 / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.007, allocations: 0 / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.007, allocations: 0.5 kB / 0.6538 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/1.008, allocations: 135 kB / 0.6539 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/1.008, allocations: 44.33 kB / 0.6539 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/1.008, allocations: 16.98 kB / 0.654 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/1.008, allocations: 0 / 0.654 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.008, allocations: 41.78 kB / 0.654 GB, free: 6.387 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/1.008, allocations: 0 / 0.654 GB, free: 6.387 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.002446/1.01, allocations: 470.8 kB / 0.6544 GB, free: 5.883 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.011, allocations: 56.31 kB / 0.6545 GB, free: 5.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.191e-05/1.011, allocations: 89 kB / 0.6546 GB, free: 5.723 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/1.011, allocations: 27.55 kB / 0.6546 GB, free: 5.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/1.011, allocations: 83.33 kB / 0.6547 GB, free: 5.609 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/1.011, allocations: 27.56 kB / 0.6547 GB, free: 5.582 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/1.011, allocations: 0 / 0.6547 GB, free: 5.582 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/1.011, allocations: 319.3 kB / 0.655 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/1.011, allocations: 20.72 kB / 0.655 GB, free: 5.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/1.011, allocations: 20 kB / 0.6551 GB, free: 5.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/1.011, allocations: 16.94 kB / 0.6551 GB, free: 5.207 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.011, allocations: 0 / 0.6551 GB, free: 5.207 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001486/1.011, allocations: 98.45 kB / 0.6552 GB, free: 5.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.011, allocations: 4 kB / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.011, allocations: 0 / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.011, allocations: 1.094 kB / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/1.011, allocations: 12 kB / 0.6552 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.011, allocations: 0 / 0.6552 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/1.012, allocations: 8.938 kB / 0.6552 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.012, allocations: 0 / 0.6552 GB, free: 5.082 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 (9): * Single equations (assignments): 9 * 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 0.0001035/1.012, allocations: 101.8 kB / 0.6553 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/1.012, allocations: 12.73 kB / 0.6553 GB, free: 4.965 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/1.012, allocations: 13.5 kB / 0.6553 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.012, allocations: 0.9375 kB / 0.6553 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.012, allocations: 0 / 0.6553 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/1.012, allocations: 0 / 0.6553 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/1.012, allocations: 154.7 kB / 0.6555 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.012, allocations: 0 / 0.6555 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/1.012, allocations: 15.98 kB / 0.6555 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/1.012, allocations: 8.656 kB / 0.6555 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/1.012, allocations: 0 / 0.6555 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.012, allocations: 0.875 kB / 0.6555 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.012, allocations: 0 / 0.6555 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002628/1.012, allocations: 143 kB / 0.6556 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004452/1.013, allocations: 0.5333 MB / 0.6562 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/1.013, allocations: 79.08 kB / 0.6562 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/1.013, allocations: 13.66 kB / 0.6562 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/1.013, allocations: 4 kB / 0.6562 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/1.013, allocations: 0 / 0.6562 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/1.013, allocations: 4 kB / 0.6562 GB, free: 3.922 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.95e-05/1.013, allocations: 75.28 kB / 0.6563 GB, free: 3.848 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008977/1.014, allocations: 20.36 kB / 0.6563 GB, free: 3.828 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 (8): * Single equations (assignments): 8 * 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.0001881/1.014, allocations: 108.6 kB / 0.6564 GB, free: 3.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/1.015, allocations: 57.56 kB / 0.6565 GB, free: 3.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.015, allocations: 1.406 kB / 0.6565 GB, free: 3.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/1.015, allocations: 31.94 kB / 0.6565 GB, free: 3.629 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/1.015, allocations: 2.016 kB / 0.6565 GB, free: 3.629 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/1.015, allocations: 128.3 kB / 0.6567 GB, free: 3.484 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.016, allocations: 0.7023 MB / 0.6573 GB, free: 2.758 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/1.016, allocations: 0 / 0.6573 GB, free: 2.758 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)