Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009549, allocations: 99.91 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.001284/0.001284, allocations: 176.2 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 275 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.8571/0.8571, allocations: 144.7 MB / 487.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 14 kB / 0.5691 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 83.09 MB / 0.6502 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001602/0.1964, allocations: 1.142 MB / 0.6513 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1975, allocations: 0.719 MB / 0.6521 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.1976, allocations: 0 / 0.6521 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1976, allocations: 3.984 kB / 0.6521 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.1977, allocations: 11.86 kB / 0.6521 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1981, allocations: 99.91 kB / 0.6522 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.1981, allocations: 23.92 kB / 0.6522 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.1982, allocations: 4 kB / 0.6522 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.1983, allocations: 19.92 kB / 0.6522 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.1983, allocations: 12.75 kB / 0.6522 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1984, allocations: 4 kB / 0.6522 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1988, allocations: 315.9 kB / 0.6525 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.1988, allocations: 3.938 kB / 0.6525 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.1989, allocations: 26.3 kB / 0.6526 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1991, allocations: 145.3 kB / 0.6527 GB, free: 1.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1991, allocations: 0 / 0.6527 GB, free: 1.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1991, allocations: 0 / 0.6527 GB, free: 1.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1991, allocations: 0 / 0.6527 GB, free: 1.027 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004883/0.1996, allocations: 373.6 kB / 0.653 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1996, allocations: 12.03 kB / 0.6531 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.2001, allocations: 77.72 kB / 0.6531 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2002, allocations: 163.1 kB / 0.6533 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.2002, allocations: 4.828 kB / 0.6533 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.2002, allocations: 0 / 0.6533 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.2005, allocations: 101.7 kB / 0.6534 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.2006, allocations: 0 / 0.6534 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2006, allocations: 0.75 kB / 0.6534 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2006, allocations: 0 / 0.6534 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.201, allocations: 122.6 kB / 0.6535 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.2015, allocations: 305.3 kB / 0.6538 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2019, allocations: 120.2 kB / 0.6539 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2021, allocations: 64.86 kB / 0.654 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2021, allocations: 0 / 0.654 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2021, allocations: 42.56 kB / 0.654 GB, free: 15.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2022, allocations: 0 / 0.654 GB, free: 15.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006577/0.2028, allocations: 193.7 kB / 0.6542 GB, free: 15.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2029, allocations: 59.33 kB / 0.6543 GB, free: 15.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.2029, allocations: 101.9 kB / 0.6544 GB, free: 15.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.203, allocations: 25.7 kB / 0.6544 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.203, allocations: 88.14 kB / 0.6545 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.203, allocations: 11.83 kB / 0.6545 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.2031, allocations: 0 / 0.6545 GB, free: 15.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2032, allocations: 314.8 kB / 0.6548 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2034, allocations: 59.95 kB / 0.6548 GB, free: 14.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.2036, allocations: 59.95 kB / 0.6549 GB, free: 14.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2037, allocations: 52.02 kB / 0.6549 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2038, allocations: 3.938 kB / 0.6549 GB, free: 14.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003972/0.2042, allocations: 149.6 kB / 0.6551 GB, free: 14.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2042, allocations: 4 kB / 0.6551 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.2042, allocations: 3.984 kB / 0.6551 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2042, allocations: 0 / 0.6551 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2044, allocations: 27.97 kB / 0.6551 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2044, allocations: 4.031 kB / 0.6551 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2045, allocations: 31.91 kB / 0.6552 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.2045, allocations: 0 / 0.6552 GB, free: 14.31 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 (2): * Single equations (assignments): 2 * 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.532e-05/0.2046, allocations: 119 kB / 0.6553 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.2047, allocations: 7.906 kB / 0.6553 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2047, allocations: 7.125 kB / 0.6553 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2047, allocations: 0 / 0.6553 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2047, allocations: 4 kB / 0.6553 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2047, allocations: 0 / 0.6553 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.2049, allocations: 169.8 kB / 0.6554 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2049, allocations: 4 kB / 0.6555 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.205, allocations: 31.97 kB / 0.6555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2051, allocations: 0 / 0.6555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2051, allocations: 4 kB / 0.6555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2051, allocations: 0 / 0.6555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2051, allocations: 0 / 0.6555 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.2055, allocations: 239.4 kB / 0.6557 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.2056, allocations: 85.11 kB / 0.6558 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2056, allocations: 3.938 kB / 0.6558 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2058, allocations: 28 kB / 0.6558 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2058, allocations: 3.938 kB / 0.6558 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2058, allocations: 7.984 kB / 0.6558 GB, free: 13.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.333e-05/0.2059, allocations: 79.28 kB / 0.6559 GB, free: 13.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2059, allocations: 0 / 0.6559 GB, free: 13.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.2061, allocations: 16 kB / 0.6559 GB, free: 13.43 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 (2): * Single equations (assignments): 2 * 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.0001562/0.2063, allocations: 107.2 kB / 0.656 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.2067, allocations: 115.9 kB / 0.6561 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2067, allocations: 0 / 0.6561 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2069, allocations: 60.02 kB / 0.6562 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2071, allocations: 13.91 kB / 0.6562 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.2077, allocations: 210.3 kB / 0.6564 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2079, allocations: 0.677 MB / 0.6571 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.208, allocations: 11.42 kB / 0.6571 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.208, allocations: 0 / 0.6571 GB, free: 12.18 MB / 462.1 MB Notification: Performance of Templates: time 0.002186/0.2102, allocations: 0.8867 MB / 0.6579 GB, free: 11.3 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularizedCalcHelperMain.o] Error 1