Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.003635/0.003635, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.677/0.677, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.773/1.773, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 103.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5544/0.5556, allocations: 88.44 MB / 0.553 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.7665, allocations: 82.31 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6822/1.449, allocations: 110.8 MB / 0.7415 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.449, allocations: 81.41 kB / 0.7416 GB, free: 10.55 MB / 0.4948 GB 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.005094/1.454, allocations: 1.864 MB / 0.7434 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.332e-05/1.454, allocations: 7.438 kB / 0.7434 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/1.454, allocations: 19.75 kB / 0.7434 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/1.454, allocations: 160.7 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/1.454, allocations: 2.5 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/1.454, allocations: 3.875 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.372e-05/1.454, allocations: 11.47 kB / 0.7436 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.728e-05/1.455, allocations: 43.53 kB / 0.7436 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-06/1.455, allocations: 3.938 kB / 0.7437 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/1.455, allocations: 3.906 kB / 0.7437 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-06/1.455, allocations: 1.406 kB / 0.7437 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/1.455, allocations: 139.8 kB / 0.7438 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/1.455, allocations: 36.92 kB / 0.7438 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/1.455, allocations: 21.92 kB / 0.7438 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/1.455, allocations: 0 / 0.7438 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/1.455, allocations: 34.5 kB / 0.7439 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/1.455, allocations: 0 / 0.7439 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.002472/1.457, allocations: 478.7 kB / 0.7443 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/1.457, allocations: 51.41 kB / 0.7444 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.259e-05/1.457, allocations: 85 kB / 0.7445 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/1.457, allocations: 25.7 kB / 0.7445 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/1.458, allocations: 80.14 kB / 0.7446 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/1.458, allocations: 30.11 kB / 0.7446 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/1.458, allocations: 0 / 0.7446 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.458, allocations: 318.4 kB / 0.7449 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/1.458, allocations: 18.47 kB / 0.7449 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/1.458, allocations: 28.61 kB / 0.7449 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.651e-05/1.458, allocations: 19.98 kB / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.458, allocations: 0 / 0.745 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002111/1.458, allocations: 87.48 kB / 0.745 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.458, allocations: 3.812 kB / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/1.458, allocations: 0 / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.458, allocations: 7.875 kB / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/1.458, allocations: 16.7 kB / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/1.458, allocations: 0 / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.459, allocations: 2.234 kB / 0.7451 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/1.459, allocations: 7.812 kB / 0.7451 GB, free: 24.72 MB / 0.5105 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 (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 9.771e-05/1.459, allocations: 101 kB / 0.7452 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/1.459, allocations: 3.906 kB / 0.7452 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/1.459, allocations: 14.97 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.459, allocations: 1.5 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.459, allocations: 0.9375 kB / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.459, allocations: 0 / 0.7452 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/1.459, allocations: 156.3 kB / 0.7454 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.459, allocations: 0 / 0.7454 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/1.459, allocations: 20.92 kB / 0.7454 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.459, allocations: 0 / 0.7454 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/1.459, allocations: 7.516 kB / 0.7454 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.459, allocations: 3.906 kB / 0.7454 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.459, allocations: 0 / 0.7454 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002875/1.46, allocations: 126.9 kB / 0.7455 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003982/1.46, allocations: 0.54 MB / 0.746 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/1.46, allocations: 86.03 kB / 0.7461 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.46, allocations: 0 / 0.7461 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.46, allocations: 5.25 kB / 0.7461 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/1.46, allocations: 2.391 kB / 0.7461 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/1.46, allocations: 3.906 kB / 0.7461 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.796e-05/1.46, allocations: 75.28 kB / 0.7462 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009899/1.461, allocations: 11.47 kB / 0.7462 GB, free: 23.75 MB / 0.5105 GB 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.000211/1.461, allocations: 108.9 kB / 0.7463 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001254/1.462, allocations: 60.44 kB / 0.7464 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.462, allocations: 0 / 0.7464 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/1.462, allocations: 31.23 kB / 0.7464 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/1.462, allocations: 4.062 kB / 0.7464 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/1.462, allocations: 128.1 kB / 0.7465 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.463, allocations: 0.7047 MB / 0.7472 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.794e-06/1.463, allocations: 4 kB / 0.7472 GB, free: 22.86 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)