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/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/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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") [: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.003695/0.003695, allocations: 182.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 130.6 MB / 138.5 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.4 MB / 391.4 MB, free: 13.15 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.000994/0.000994, allocations: 98.03 kB / 473.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.434e-06, allocations: 0 / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 81.59 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5613/0.7374, allocations: 110.5 MB / 0.7355 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.7378, allocations: 88.7 kB / 0.7356 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005194/0.743, allocations: 1.537 MB / 0.7371 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.743, allocations: 0 / 0.7371 GB, free: 11.41 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.0004129/0.7435, allocations: 330.7 kB / 0.7374 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7435, allocations: 16.66 kB / 0.7375 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.7437, allocations: 18.73 kB / 0.7375 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.7438, allocations: 160.5 kB / 0.7376 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.7438, allocations: 0 / 0.7376 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.7439, allocations: 3.75 kB / 0.7376 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.259e-05/0.744, allocations: 11.38 kB / 0.7376 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.183e-05/0.7441, allocations: 42.27 kB / 0.7377 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7441, allocations: 0 / 0.7377 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.7441, allocations: 3.906 kB / 0.7377 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7441, allocations: 3.984 kB / 0.7377 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.7443, allocations: 132.9 kB / 0.7378 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.7444, allocations: 46.44 kB / 0.7379 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.7444, allocations: 20.02 kB / 0.7379 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.7444, allocations: 3.844 kB / 0.7379 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.7445, allocations: 35.69 kB / 0.7379 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.7445, allocations: 0 / 0.7379 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.002035/0.7465, allocations: 475.2 kB / 0.7384 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.7466, allocations: 55.41 kB / 0.7384 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.7466, allocations: 86.31 kB / 0.7385 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.7466, allocations: 25.7 kB / 0.7385 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.7467, allocations: 80.14 kB / 0.7386 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.7467, allocations: 28.48 kB / 0.7386 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.7467, allocations: 0 / 0.7386 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7469, allocations: 319.5 kB / 0.7389 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.7469, allocations: 18.16 kB / 0.739 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.747, allocations: 18.59 kB / 0.739 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.747, allocations: 23.39 kB / 0.739 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.747, allocations: 1.453 kB / 0.739 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001293/0.7472, allocations: 85.53 kB / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7472, allocations: 3.969 kB / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7472, allocations: 0 / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7472, allocations: 7.781 kB / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.7474, allocations: 13.8 kB / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7474, allocations: 1.125 kB / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.7475, allocations: 0 / 0.7391 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.7475, allocations: 6.875 kB / 0.7391 GB, free: 25.66 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 7.624e-05/0.7476, allocations: 112.9 kB / 0.7392 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.7476, allocations: 5.125 kB / 0.7392 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.7476, allocations: 10.22 kB / 0.7392 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7476, allocations: 3.875 kB / 0.7392 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7477, allocations: 5.641 kB / 0.7392 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7477, allocations: 0 / 0.7392 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.7478, allocations: 152.8 kB / 0.7394 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7478, allocations: 0 / 0.7394 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.7479, allocations: 13.08 kB / 0.7394 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.748, allocations: 4 kB / 0.7394 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.748, allocations: 1.5 kB / 0.7394 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.748, allocations: 7.781 kB / 0.7394 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.748, allocations: 0 / 0.7394 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/0.7482, allocations: 135.3 kB / 0.7395 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.7482, allocations: 81.02 kB / 0.7396 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.7483, allocations: 4.828 kB / 0.7396 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7484, allocations: 1.75 kB / 0.7396 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.7484, allocations: 8.906 kB / 0.7396 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.7484, allocations: 3.812 kB / 0.7396 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.624e-05/0.7485, allocations: 75.28 kB / 0.7397 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001967/0.7487, allocations: 9 kB / 0.7397 GB, free: 25.13 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.00014/0.7488, allocations: 107.7 kB / 0.7398 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.7489, allocations: 59.38 kB / 0.7399 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.749, allocations: 0 / 0.7399 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.749, allocations: 31.23 kB / 0.7399 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.7492, allocations: 12.12 kB / 0.7399 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.7497, allocations: 122.2 kB / 0.74 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.75, allocations: 0.6964 MB / 0.7407 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.75, allocations: 3.812 kB / 0.7407 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.003188/0.7532, allocations: 0.9488 MB / 0.7416 GB, free: 24.18 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)