Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 103 kB / 15.71 MB, free: 460 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.0008437/0.0008438, allocations: 180 kB / 16.59 MB, free: 6.148 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.454/1.454, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 278.7 kB / 292 MB, free: 1.902 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.9059/0.9059, allocations: 144.7 MB / 487.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004641, allocations: 14.91 kB / 0.5691 GB, free: 38.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1859, allocations: 83.09 MB / 0.6502 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002033/0.188, allocations: 1.448 MB / 0.6516 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1891, allocations: 0.6031 MB / 0.6522 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1891, allocations: 0 / 0.6522 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1892, allocations: 12.36 kB / 0.6522 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.1893, allocations: 14.86 kB / 0.6523 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.1898, allocations: 157.7 kB / 0.6524 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.19, allocations: 99.69 kB / 0.6525 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1901, allocations: 42 kB / 0.6525 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1903, allocations: 47.8 kB / 0.6526 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.1904, allocations: 40.27 kB / 0.6526 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1904, allocations: 4.562 kB / 0.6526 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1905, allocations: 40.52 kB / 0.6527 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.1905, allocations: 23.91 kB / 0.6527 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.1906, allocations: 40.05 kB / 0.6527 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1907, allocations: 91.83 kB / 0.6528 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1908, allocations: 4 kB / 0.6528 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1908, allocations: 0 / 0.6528 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1908, allocations: 3.938 kB / 0.6528 GB, free: 0.9219 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005688/0.1914, allocations: 417.9 kB / 0.6532 GB, free: 480 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1914, allocations: 8.031 kB / 0.6532 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.1922, allocations: 145.2 kB / 0.6534 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1923, allocations: 184.1 kB / 0.6535 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1924, allocations: 63.41 kB / 0.6536 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1924, allocations: 8.656 kB / 0.6536 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.193, allocations: 193.9 kB / 0.6538 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.193, allocations: 0 / 0.6538 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.193, allocations: 0.875 kB / 0.6538 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.193, allocations: 4 kB / 0.6538 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.1936, allocations: 200.1 kB / 0.654 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1946, allocations: 0.4969 MB / 0.6545 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.1955, allocations: 274.3 kB / 0.6547 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1958, allocations: 96.91 kB / 0.6548 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1959, allocations: 7.906 kB / 0.6548 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1959, allocations: 34.56 kB / 0.6549 GB, free: 14.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1959, allocations: 0 / 0.6549 GB, free: 14.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009594/0.1969, allocations: 313.5 kB / 0.6552 GB, free: 14.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1969, allocations: 55.41 kB / 0.6552 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.197, allocations: 135.2 kB / 0.6554 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1971, allocations: 29.7 kB / 0.6554 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.1971, allocations: 112.1 kB / 0.6555 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1972, allocations: 19.8 kB / 0.6555 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.1972, allocations: 0 / 0.6555 GB, free: 13.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1973, allocations: 322.8 kB / 0.6558 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1976, allocations: 87.92 kB / 0.6559 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.1979, allocations: 114.4 kB / 0.656 GB, free: 13.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1981, allocations: 91.92 kB / 0.6561 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1981, allocations: 0 / 0.6561 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005933/0.1987, allocations: 241.4 kB / 0.6563 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1988, allocations: 8 kB / 0.6563 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1988, allocations: 0 / 0.6563 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1988, allocations: 0 / 0.6563 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.199, allocations: 55.83 kB / 0.6564 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1991, allocations: 0 / 0.6564 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1992, allocations: 39.8 kB / 0.6564 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1993, allocations: 4 kB / 0.6564 GB, free: 13.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.946e-05/0.1994, allocations: 127.1 kB / 0.6566 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.1994, allocations: 7.906 kB / 0.6566 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.2001, allocations: 242.5 kB / 0.6568 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2001, allocations: 4 kB / 0.6568 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2001, allocations: 4.062 kB / 0.6568 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2001, allocations: 0 / 0.6568 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2004, allocations: 234.4 kB / 0.657 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2004, allocations: 0 / 0.657 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.2006, allocations: 39.95 kB / 0.6571 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2006, allocations: 4 kB / 0.6571 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2006, allocations: 7.984 kB / 0.6571 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2007, allocations: 0 / 0.6571 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2007, allocations: 0 / 0.6571 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.2013, allocations: 327.2 kB / 0.6574 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.2013, allocations: 85.02 kB / 0.6575 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.2014, allocations: 0 / 0.6575 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2016, allocations: 47.95 kB / 0.6575 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2017, allocations: 7.984 kB / 0.6575 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2017, allocations: 0 / 0.6575 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.2018, allocations: 109.3 kB / 0.6576 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2018, allocations: 0 / 0.6576 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.202, allocations: 27.84 kB / 0.6577 GB, free: 11.67 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 (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.0001436/0.2022, allocations: 99.25 kB / 0.6577 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.2028, allocations: 203.7 kB / 0.6579 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2028, allocations: 0 / 0.6579 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.2031, allocations: 100 kB / 0.658 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2034, allocations: 15.94 kB / 0.658 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.204, allocations: 319.1 kB / 0.6584 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.2043, allocations: 0.7004 MB / 0.659 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.2044, allocations: 23.42 kB / 0.6591 GB, free: 10.15 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2044, allocations: 0 / 0.6591 GB, free: 10.15 MB / 462.1 MB Notification: Performance of Templates: time 0.003093/0.2075, allocations: 1.592 MB / 0.6606 GB, free: 8.566 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocksCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1