Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X") [: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.3388/0.3388, allocations: 54.39 MB / 61.67 MB, free: 11.16 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.001143/0.001143, allocations: 184.4 kB / 75.37 MB, free: 1.457 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.149/1.149, allocations: 194.2 MB / 283.2 MB, free: 3.484 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.001674/0.001673, allocations: 114.9 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.383e-06, allocations: 4 kB / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 57.64 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.5346, allocations: 85.01 MB / 0.5348 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5349, allocations: 74.98 kB / 0.5348 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.004137/0.5391, allocations: 1.16 MB / 0.536 GB, free: 11.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.5391, allocations: 0 / 0.536 GB, free: 11.03 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.0003715/0.5395, allocations: 334.5 kB / 0.5363 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.5396, allocations: 11.97 kB / 0.5363 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5398, allocations: 23.88 kB / 0.5363 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.54, allocations: 163.8 kB / 0.5365 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.54, allocations: 4 kB / 0.5365 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.54, allocations: 0 / 0.5365 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.5401, allocations: 15.56 kB / 0.5365 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.089e-05/0.5402, allocations: 45.22 kB / 0.5366 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5403, allocations: 0 / 0.5366 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.5403, allocations: 3.984 kB / 0.5366 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5403, allocations: 4 kB / 0.5366 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.5405, allocations: 133.6 kB / 0.5367 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.5424, allocations: 277.2 kB / 0.537 GB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.5425, allocations: 16.55 kB / 0.537 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5425, allocations: 0 / 0.537 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.5425, allocations: 30.56 kB / 0.537 GB, free: 9.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5425, allocations: 0 / 0.537 GB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.5427, allocations: 56.88 kB / 0.5371 GB, free: 9.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5427, allocations: 59.41 kB / 0.5371 GB, free: 9.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.5428, allocations: 85 kB / 0.5372 GB, free: 9.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5429, allocations: 25.7 kB / 0.5372 GB, free: 9.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.5429, allocations: 80.14 kB / 0.5373 GB, free: 9.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.5429, allocations: 22.92 kB / 0.5373 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.543, allocations: 0 / 0.5373 GB, free: 9.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5431, allocations: 310.8 kB / 0.5376 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.5431, allocations: 7.562 kB / 0.5376 GB, free: 9.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.5431, allocations: 11.38 kB / 0.5376 GB, free: 9.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.5432, allocations: 4 kB / 0.5376 GB, free: 9.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.5432, allocations: 0 / 0.5376 GB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.108e-05/0.5433, allocations: 52.81 kB / 0.5377 GB, free: 9.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5433, allocations: 4 kB / 0.5377 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5433, allocations: 0 / 0.5377 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5433, allocations: 3.938 kB / 0.5377 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.5434, allocations: 15.92 kB / 0.5377 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5434, allocations: 0 / 0.5377 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.5434, allocations: 3.906 kB / 0.5377 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.5435, allocations: 4 kB / 0.5377 GB, free: 9.113 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 (4): * Single equations (assignments): 4 * 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.255e-05/0.5435, allocations: 105 kB / 0.5378 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.5435, allocations: 2.938 kB / 0.5378 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.5436, allocations: 11.12 kB / 0.5378 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5436, allocations: 0 / 0.5378 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5436, allocations: 0 / 0.5378 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5436, allocations: 0 / 0.5378 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.5437, allocations: 133.4 kB / 0.538 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5438, allocations: 4 kB / 0.538 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.5438, allocations: 4 kB / 0.538 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5438, allocations: 4 kB / 0.538 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5438, allocations: 0 / 0.538 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5438, allocations: 3.906 kB / 0.538 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5438, allocations: 0 / 0.538 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001017/0.544, allocations: 76.38 kB / 0.538 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.544, allocations: 89.23 kB / 0.5381 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.5441, allocations: 0 / 0.5381 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.5441, allocations: 3.938 kB / 0.5381 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.5442, allocations: 8.797 kB / 0.5381 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5442, allocations: 4 kB / 0.5381 GB, free: 8.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.246e-05/0.5442, allocations: 76.09 kB / 0.5382 GB, free: 8.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.5444, allocations: 8 kB / 0.5382 GB, free: 8.527 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001154/0.5445, allocations: 95.23 kB / 0.5383 GB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.5446, allocations: 22.5 kB / 0.5383 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5446, allocations: 0 / 0.5383 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.5447, allocations: 19.16 kB / 0.5384 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.5448, allocations: 8.984 kB / 0.5384 GB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.5451, allocations: 72.69 kB / 0.5384 GB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.5454, allocations: 0.6999 MB / 0.5391 GB, free: 7.574 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5454, allocations: 0 / 0.5391 GB, free: 7.574 MB / 378.7 MB Notification: Performance of Templates: time 0.00251/0.5479, allocations: 0.5823 MB / 0.5397 GB, free: 7.008 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)