Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 100.1 kB / 15.88 MB, free: 12 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.001954/0.001953, allocations: 197.8 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.751/2.751, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00401/0.00401, allocations: 286.6 kB / 290.9 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.962/1.962, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003085/0.003086, allocations: 91.12 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3915, allocations: 86.98 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.006491/0.3981, allocations: 1.518 MB / 0.6816 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.4002, allocations: 0.5663 MB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.4003, allocations: 4 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.032e-05/0.4004, allocations: 0 / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.956e-05/0.4005, allocations: 3.938 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.401, allocations: 35.89 kB / 0.6822 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.4012, allocations: 35.86 kB / 0.6822 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.4014, allocations: 8 kB / 0.6822 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.4016, allocations: 15.97 kB / 0.6822 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.4017, allocations: 7.938 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.4017, allocations: 0 / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.402, allocations: 51.95 kB / 0.6823 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.402, allocations: 7.938 kB / 0.6823 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.4021, allocations: 11.92 kB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.4023, allocations: 52.09 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4023, allocations: 0 / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4023, allocations: 4 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4023, allocations: 0 / 0.6823 GB, free: 14.86 MB / 494.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.0009108/0.4033, allocations: 347.5 kB / 0.6827 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.901e-05/0.4034, allocations: 12.03 kB / 0.6827 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.4034, allocations: 4.844 kB / 0.6827 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.4038, allocations: 172.3 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4038, allocations: 384 / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4038, allocations: 4.312 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.4041, allocations: 50 kB / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4041, allocations: 0 / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4042, allocations: 0 / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.4042, allocations: 4 kB / 0.6829 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.4044, allocations: 23.91 kB / 0.6829 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.4051, allocations: 252.9 kB / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4054, allocations: 34.56 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.4055, allocations: 20.86 kB / 0.6832 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.4071, allocations: 473.4 kB / 0.6837 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.4071, allocations: 34.56 kB / 0.6837 GB, free: 13.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.4071, allocations: 0 / 0.6837 GB, free: 13.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005891/0.4077, allocations: 69.52 kB / 0.6838 GB, free: 13.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.4078, allocations: 55.41 kB / 0.6838 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.408, allocations: 105.8 kB / 0.6839 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.4081, allocations: 25.7 kB / 0.684 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4082, allocations: 88.14 kB / 0.684 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.4083, allocations: 8.016 kB / 0.684 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.4083, allocations: 13.72 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.4086, allocations: 318.8 kB / 0.6844 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.951e-05/0.4087, allocations: 7.984 kB / 0.6844 GB, free: 12.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.4088, allocations: 12 kB / 0.6844 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.409, allocations: 28.78 kB / 0.6844 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.409, allocations: 3.938 kB / 0.6844 GB, free: 12.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002129/0.4092, allocations: 53.75 kB / 0.6845 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.4093, allocations: 7.984 kB / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4093, allocations: 0 / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.4093, allocations: 4 kB / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4095, allocations: 4 kB / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4095, allocations: 320 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.4095, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.4096, allocations: 0 / 0.6845 GB, free: 12.35 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4097, allocations: 127.1 kB / 0.6846 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.4098, allocations: 7.906 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.4101, allocations: 73.12 kB / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4102, allocations: 0 / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4102, allocations: 3.938 kB / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.4102, allocations: 0 / 0.6847 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.4107, allocations: 157.6 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4107, allocations: 4 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.4108, allocations: 7.984 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4108, allocations: 4.031 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4108, allocations: 0 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4108, allocations: 0 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4108, allocations: 0 / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4111, allocations: 163.4 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.4115, allocations: 81.02 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.4115, allocations: 0 / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.4116, allocations: 4.031 kB / 0.6851 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4117, allocations: 4 kB / 0.6851 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4117, allocations: 7.922 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.4118, allocations: 87.28 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4118, allocations: 0 / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.4122, allocations: 12 kB / 0.6852 GB, free: 11.52 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005723/0.4128, allocations: 119.2 kB / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.4131, allocations: 23.98 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4131, allocations: 4 kB / 0.6853 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.4132, allocations: 15.98 kB / 0.6853 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.4136, allocations: 6.125 kB / 0.6854 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.4144, allocations: 162 kB / 0.6855 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.4151, allocations: 0.685 MB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.4152, allocations: 7.438 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4152, allocations: 0 / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Templates: time 0.004448/0.4197, allocations: 0.8014 MB / 0.687 GB, free: 9.648 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1