Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 174.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001997, allocations: 267 kB / 292 MB, free: 1.98 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 144.7 MB / 487.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004803, allocations: 13.28 kB / 0.5691 GB, free: 38.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1782, allocations: 83.09 MB / 0.6502 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001946/0.1802, allocations: 1.09 MB / 0.6513 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.1848, allocations: 2.732 MB / 0.654 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.1849, allocations: 0 / 0.654 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.185, allocations: 7.922 kB / 0.654 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1852, allocations: 44.52 kB / 0.654 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1858, allocations: 153.6 kB / 0.6542 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1862, allocations: 275.4 kB / 0.6544 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.1862, allocations: 8.578 kB / 0.6544 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1864, allocations: 83.86 kB / 0.6545 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.1866, allocations: 145.2 kB / 0.6546 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1867, allocations: 8 kB / 0.6546 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.1872, allocations: 157.2 kB / 0.6548 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1873, allocations: 88.69 kB / 0.6549 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.1874, allocations: 53.64 kB / 0.6549 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.1878, allocations: 184.6 kB / 0.6551 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1878, allocations: 0 / 0.6551 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.891e-06/0.1878, allocations: 5.062 kB / 0.6551 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1878, allocations: 3.938 kB / 0.6551 GB, free: 14.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009047/0.1887, allocations: 0.5242 MB / 0.6556 GB, free: 14.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1888, allocations: 8.031 kB / 0.6556 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.1889, allocations: 24.42 kB / 0.6557 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.1892, allocations: 236.2 kB / 0.6559 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1893, allocations: 23.98 kB / 0.6559 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.1893, allocations: 16 kB / 0.6559 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.19, allocations: 322.4 kB / 0.6562 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.19, allocations: 4.656 kB / 0.6562 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.19, allocations: 4 kB / 0.6562 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.19, allocations: 5.719 kB / 0.6562 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1915, allocations: 0.8048 MB / 0.657 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1919, allocations: 305.1 kB / 0.6573 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.1936, allocations: 0.7815 MB / 0.6581 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.1942, allocations: 256.7 kB / 0.6583 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.1946, allocations: 384.3 kB / 0.6587 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1947, allocations: 42.5 kB / 0.6587 GB, free: 10.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.1947, allocations: 4 kB / 0.6587 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.001611/0.1963, allocations: 0.7355 MB / 0.6595 GB, free: 9.926 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1963, allocations: 59.34 kB / 0.6595 GB, free: 9.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1965, allocations: 125.6 kB / 0.6596 GB, free: 9.727 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1965, allocations: 37.64 kB / 0.6597 GB, free: 9.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.1966, allocations: 92.78 kB / 0.6598 GB, free: 9.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.1967, allocations: 122.2 kB / 0.6599 GB, free: 9.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.1967, allocations: 4 kB / 0.6599 GB, free: 9.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1969, allocations: 330.8 kB / 0.6602 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.1974, allocations: 219.8 kB / 0.6604 GB, free: 8.918 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.1978, allocations: 229 kB / 0.6606 GB, free: 8.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1983, allocations: 219.9 kB / 0.6608 GB, free: 8.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1983, allocations: 3.953 kB / 0.6608 GB, free: 8.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001026/0.1993, allocations: 0.5009 MB / 0.6613 GB, free: 7.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.1994, allocations: 8 kB / 0.6613 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1994, allocations: 0 / 0.6613 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1994, allocations: 0 / 0.6613 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.1998, allocations: 111.9 kB / 0.6614 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1998, allocations: 4 kB / 0.6614 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2, allocations: 63.7 kB / 0.6615 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.2, allocations: 15.98 kB / 0.6615 GB, free: 7.77 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001416/0.2002, allocations: 147 kB / 0.6617 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2002, allocations: 19.77 kB / 0.6617 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.2014, allocations: 0.5707 MB / 0.6622 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2014, allocations: 4 kB / 0.6622 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2014, allocations: 0 / 0.6622 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2014, allocations: 0 / 0.6622 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2018, allocations: 313.2 kB / 0.6625 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2018, allocations: 0 / 0.6625 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.2021, allocations: 115.9 kB / 0.6627 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2021, allocations: 4 kB / 0.6627 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.2022, allocations: 15.92 kB / 0.6627 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2022, allocations: 0 / 0.6627 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2022, allocations: 0 / 0.6627 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2033, allocations: 0.5394 MB / 0.6632 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.2034, allocations: 100.8 kB / 0.6633 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.2034, allocations: 7.953 kB / 0.6633 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2036, allocations: 51.95 kB / 0.6634 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.2039, allocations: 131.5 kB / 0.6635 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.2039, allocations: 8 kB / 0.6635 GB, free: 5.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.204, allocations: 103.2 kB / 0.6636 GB, free: 5.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.204, allocations: 8 kB / 0.6636 GB, free: 5.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.2044, allocations: 115.9 kB / 0.6637 GB, free: 5.441 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0004255/0.2049, allocations: 183 kB / 0.6639 GB, free: 5.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.206, allocations: 0.5152 MB / 0.6644 GB, free: 4.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.206, allocations: 4 kB / 0.6644 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.2066, allocations: 296 kB / 0.6647 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.207, allocations: 71.94 kB / 0.6647 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.2079, allocations: 0.5193 MB / 0.6652 GB, free: 3.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2082, allocations: 0.7331 MB / 0.666 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2084, allocations: 43.41 kB / 0.666 GB, free: 3.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2084, allocations: 0 / 0.666 GB, free: 3.02 MB / 462.1 MB Notification: Performance of Templates: time 0.007908/0.2163, allocations: 4.731 MB / 0.6706 GB, free: 14.37 MB / 478.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWaterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWaterCalcHelperMain.o] Error 1