Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [: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/Annex60 1.0.0/package.mo): time 0.268/0.268, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001155/0.001155, allocations: 185 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.528/1.528, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001671/0.001671, allocations: 118 kB / 341.3 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.264e-06/7.284e-06, allocations: 4 kB / 405 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 57.63 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.5039, allocations: 85.99 MB / 0.5357 GB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5041, allocations: 80 kB / 0.5358 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.008549/0.5127, allocations: 2.531 MB / 0.5383 GB, free: 9.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5127, allocations: 0 / 0.5383 GB, free: 9.176 MB / 378.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.0003904/0.5131, allocations: 357.3 kB / 0.5386 GB, free: 8.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5132, allocations: 16.03 kB / 0.5386 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.5136, allocations: 30.64 kB / 0.5387 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.5137, allocations: 160 kB / 0.5388 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.5137, allocations: 0 / 0.5388 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5138, allocations: 11.83 kB / 0.5388 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.764e-05/0.5139, allocations: 16.31 kB / 0.5389 GB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.514, allocations: 49.66 kB / 0.5389 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.514, allocations: 0 / 0.5389 GB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.514, allocations: 4 kB / 0.5389 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.514, allocations: 4 kB / 0.5389 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5142, allocations: 139 kB / 0.539 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.5143, allocations: 36.12 kB / 0.5391 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.5144, allocations: 30.16 kB / 0.5391 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.5144, allocations: 0 / 0.5391 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5145, allocations: 39.5 kB / 0.5391 GB, free: 8.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5145, allocations: 0 / 0.5391 GB, free: 8.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001833/0.5163, allocations: 414.2 kB / 0.5395 GB, free: 7.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.5164, allocations: 51.41 kB / 0.5396 GB, free: 7.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.5164, allocations: 98.48 kB / 0.5397 GB, free: 7.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.5165, allocations: 29.64 kB / 0.5397 GB, free: 7.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.5165, allocations: 80.7 kB / 0.5398 GB, free: 7.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.5166, allocations: 18.47 kB / 0.5398 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.5166, allocations: 4 kB / 0.5398 GB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5167, allocations: 316.4 kB / 0.5401 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.5168, allocations: 29.22 kB / 0.5401 GB, free: 7.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.5169, allocations: 29.73 kB / 0.5402 GB, free: 7.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.5169, allocations: 30.22 kB / 0.5402 GB, free: 7.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.517, allocations: 0 / 0.5402 GB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002191/0.5172, allocations: 104.2 kB / 0.5403 GB, free: 7.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.5172, allocations: 4 kB / 0.5403 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5172, allocations: 0 / 0.5403 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.5172, allocations: 4 kB / 0.5403 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.5175, allocations: 27.45 kB / 0.5403 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5175, allocations: 4.234 kB / 0.5403 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.5177, allocations: 8 kB / 0.5403 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.5177, allocations: 11.91 kB / 0.5403 GB, free: 6.953 MB / 378.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 8.119e-05/0.5178, allocations: 101 kB / 0.5404 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.5178, allocations: 7.906 kB / 0.5404 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.933e-05/0.5179, allocations: 20.73 kB / 0.5405 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.5179, allocations: 3.984 kB / 0.5405 GB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5179, allocations: 4.062 kB / 0.5405 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5179, allocations: 0 / 0.5405 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.5181, allocations: 172.7 kB / 0.5406 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5181, allocations: 4 kB / 0.5406 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.5184, allocations: 19.97 kB / 0.5407 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5184, allocations: 0 / 0.5407 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5184, allocations: 7.984 kB / 0.5407 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5184, allocations: 0 / 0.5407 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5184, allocations: 0 / 0.5407 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003121/0.5187, allocations: 164.9 kB / 0.5408 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.5188, allocations: 81.11 kB / 0.5409 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.5188, allocations: 8.047 kB / 0.5409 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.519, allocations: 8 kB / 0.5409 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.5191, allocations: 7.891 kB / 0.5409 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.5191, allocations: 4 kB / 0.5409 GB, free: 6.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.873e-05/0.5191, allocations: 83.33 kB / 0.541 GB, free: 6.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.5194, allocations: 28 kB / 0.541 GB, free: 6.168 MB / 378.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.000259/0.5197, allocations: 143.2 kB / 0.5412 GB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.5199, allocations: 67.95 kB / 0.5412 GB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5199, allocations: 3.938 kB / 0.5412 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.96e-05/0.5199, allocations: 39.98 kB / 0.5413 GB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5201, allocations: 0 / 0.5413 GB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.5207, allocations: 124.2 kB / 0.5414 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.5211, allocations: 0.7173 MB / 0.5421 GB, free: 5.023 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5211, allocations: 0 / 0.5421 GB, free: 5.023 MB / 378.7 MB Notification: Performance of Templates: time 0.004449/0.5256, allocations: 2.111 MB / 0.5442 GB, free: 2.934 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)