Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") translateModel(BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7389/0.7389, allocations: 141.8 MB / 149.1 MB, free: 1.145 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 189.2 kB / 182 MB, free: 13.26 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.3 MB / 436 MB, free: 6.109 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 100.3 kB / 0.507 GB, free: 18.98 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 272.8 kB / 0.5885 GB, free: 7.199 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/9.909e-06, allocations: 1.25 kB / 0.6759 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 82.78 MB / 0.7567 GB, free: 89.5 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.3359, allocations: 109.1 MB / 0.8633 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3361, allocations: 63.97 kB / 0.8634 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.008861/0.345, allocations: 2.585 MB / 0.8659 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3451, allocations: 4 kB / 0.8659 GB, free: 9.57 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004173/0.3455, allocations: 358.4 kB / 0.8662 GB, free: 9.176 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3455, allocations: 8.031 kB / 0.8662 GB, free: 9.168 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.3456, allocations: 7.906 kB / 0.8662 GB, free: 9.16 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3458, allocations: 171 kB / 0.8664 GB, free: 8.953 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3458, allocations: 0 / 0.8664 GB, free: 8.953 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3458, allocations: 7.844 kB / 0.8664 GB, free: 8.945 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001216/0.3459, allocations: 20 kB / 0.8664 GB, free: 8.926 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3461, allocations: 77.05 kB / 0.8665 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3461, allocations: 0 / 0.8665 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3461, allocations: 0 / 0.8665 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3461, allocations: 0 / 0.8665 GB, free: 8.832 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.349, allocations: 2.068 MB / 0.8685 GB, free: 6.418 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3491, allocations: 169.1 kB / 0.8687 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.3492, allocations: 80.14 kB / 0.8688 GB, free: 6.16 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3492, allocations: 79.28 kB / 0.8688 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.3493, allocations: 109.8 kB / 0.8689 GB, free: 5.965 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.3493, allocations: 0 / 0.8689 GB, free: 5.965 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/0.3494, allocations: 34.61 kB / 0.869 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3495, allocations: 55.39 kB / 0.869 GB, free: 5.859 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3496, allocations: 117 kB / 0.8691 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3497, allocations: 25.7 kB / 0.8692 GB, free: 5.707 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3498, allocations: 107.8 kB / 0.8693 GB, free: 5.598 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.3498, allocations: 7.938 kB / 0.8693 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.3498, allocations: 0 / 0.8693 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.35, allocations: 314.8 kB / 0.8696 GB, free: 5.273 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.35, allocations: 11.98 kB / 0.8696 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.3501, allocations: 27.44 kB / 0.8696 GB, free: 5.223 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.3507, allocations: 75.89 kB / 0.8697 GB, free: 5.148 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3507, allocations: 0 / 0.8697 GB, free: 5.148 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007271/0.3514, allocations: 133.4 kB / 0.8698 GB, free: 5.012 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3515, allocations: 8 kB / 0.8698 GB, free: 5.004 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3515, allocations: 0 / 0.8698 GB, free: 5.004 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3515, allocations: 0 / 0.8698 GB, free: 5.004 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.3516, allocations: 12 kB / 0.8698 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3516, allocations: 0 / 0.8698 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.3517, allocations: 4.125 kB / 0.8698 GB, free: 4.988 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3517, allocations: 4 kB / 0.8698 GB, free: 4.984 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001273/0.3518, allocations: 188.1 kB / 0.87 GB, free: 4.793 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.352, allocations: 108.9 kB / 0.8701 GB, free: 4.68 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.352, allocations: 108.5 kB / 0.8702 GB, free: 4.562 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/0.3522, allocations: 184.2 kB / 0.8704 GB, free: 4.375 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.231e-05/0.3523, allocations: 192.2 kB / 0.8706 GB, free: 4.18 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-05/0.3524, allocations: 176.3 kB / 0.8708 GB, free: 4 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3526, allocations: 389.8 kB / 0.8711 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.077e-05/0.3527, allocations: 104.9 kB / 0.8712 GB, free: 3.465 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.3527, allocations: 105 kB / 0.8713 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.179e-05/0.3528, allocations: 176.4 kB / 0.8715 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.3529, allocations: 196.1 kB / 0.8717 GB, free: 2.977 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.044e-05/0.353, allocations: 180.3 kB / 0.8719 GB, free: 2.793 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.157e-05/0.3531, allocations: 176.3 kB / 0.872 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002384/0.3534, allocations: 312.7 kB / 0.8723 GB, free: 2.285 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.3535, allocations: 194 kB / 0.8725 GB, free: 2.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3536, allocations: 184.2 kB / 0.8727 GB, free: 1.883 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3537, allocations: 101 kB / 0.8728 GB, free: 1.777 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3539, allocations: 176.3 kB / 0.873 GB, free: 1.598 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.3539, allocations: 112.9 kB / 0.8731 GB, free: 1.48 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.000109/0.3541, allocations: 103.6 kB / 0.8732 GB, free: 1.379 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0004413/0.3545, allocations: 59.92 kB / 0.8732 GB, free: 1.32 MB / 0.5419 GB 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 (0): * Single equations (assignments): 0 * 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.0005666/0.3551, allocations: 246.4 kB / 0.8734 GB, free: 1.07 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3552, allocations: 19.94 kB / 0.8735 GB, free: 1.051 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3552, allocations: 0 / 0.8735 GB, free: 1.051 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.3553, allocations: 336 / 0.8735 GB, free: 1.051 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.3558, allocations: 0.5251 MB / 0.874 GB, free: 0.5234 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.3562, allocations: 139.3 kB / 0.8741 GB, free: 372 kB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3166/0.6728, allocations: 0.7005 MB / 0.8748 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of SimCode: time 1.713e-06/0.6729, allocations: 0 / 0.8748 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of Templates: time 0.003987/0.6769, allocations: 1.427 MB / 0.8762 GB, free: 167.2 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.sim & ./BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Refrigerants.Validation.R410A_dSpecificVolumeVap_pT.pipe 2>&1)