Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009724, allocations: 102.6 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.001301/0.001302, allocations: 176 kB / 16.58 MB, free: 6.859 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.568/1.568, 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/Buildings 11.0.0-master/package.mo): time 3.288/3.288, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003944, allocations: 12 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8883/0.8887, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00217/0.8909, allocations: 1.161 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.8919, allocations: 436.1 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.892, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.892, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.8921, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.8923, allocations: 19.98 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.8924, allocations: 23.92 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.8926, allocations: 7.984 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.8926, allocations: 19.92 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.8927, allocations: 7.922 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.8927, allocations: 4 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.8928, allocations: 15.98 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.8928, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.8929, allocations: 29.7 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.751e-05/0.893, allocations: 19.95 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.893, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.892e-06/0.893, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.893, allocations: 3.938 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB 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.0005534/0.8936, allocations: 354.7 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8936, allocations: 15.92 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.8937, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.8939, allocations: 178.8 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8939, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.8939, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.8941, allocations: 57.64 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8942, allocations: 3.984 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8942, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.8942, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.8944, allocations: 39.97 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.8949, allocations: 260.9 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.895, allocations: 38.56 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8952, allocations: 28.91 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.8953, allocations: 85.09 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.8954, allocations: 34.56 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.8954, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004571/0.8959, allocations: 101.6 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.8959, allocations: 51.41 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.896, allocations: 101.8 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.896, allocations: 25.7 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.8961, allocations: 88.14 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.8961, allocations: 4.031 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.8962, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8963, allocations: 314.8 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.8964, allocations: 19.98 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.8965, allocations: 23.97 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.637e-05/0.8966, allocations: 24.05 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8967, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002394/0.8969, allocations: 85.55 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.8969, allocations: 8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.897, allocations: 3.984 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.897, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8971, allocations: 11.94 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8971, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.8972, allocations: 15.98 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.8972, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB 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 9.073e-05/0.8973, allocations: 109.9 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.8973, allocations: 12.11 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.8976, allocations: 84.77 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8977, allocations: 4.031 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8977, allocations: 4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8977, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.8979, allocations: 153.7 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8979, allocations: 3.938 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.907e-05/0.898, allocations: 15.92 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.898, allocations: 7.953 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.898, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.898, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.898, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.8984, allocations: 171.5 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.8984, allocations: 81.11 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.8985, allocations: 3.984 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.8986, allocations: 11.98 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.8986, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.8986, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.8987, allocations: 87.27 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8987, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003372/0.8991, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 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 () * 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.000192/0.8993, allocations: 107.2 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.8995, allocations: 47.95 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8995, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.8997, allocations: 28.05 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.9, allocations: 7.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.9004, allocations: 142.2 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.9008, allocations: 0.677 MB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.9008, allocations: 7.438 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.9008, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.002628/0.9035, allocations: 0.6519 MB / 1.028 GB, free: 10.6 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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 OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1