Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007929/0.0007932, allocations: 96.95 kB / 16.33 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008697/0.0008698, allocations: 188.1 kB / 17.23 MB, free: 5.926 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.5/1.5, allocations: 223.2 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7659/0.7659, allocations: 114.3 MB / 406.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 8 kB / 494.4 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 77.27 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001693/0.1828, allocations: 1.146 MB / 0.5594 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.1836, allocations: 428.2 kB / 0.5598 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1836, allocations: 4 kB / 0.5599 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1836, allocations: 3.984 kB / 0.5599 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.402e-05/0.1837, allocations: 3.984 kB / 0.5599 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.1839, allocations: 19.92 kB / 0.5599 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.184, allocations: 23.94 kB / 0.5599 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.65e-05/0.1841, allocations: 3.984 kB / 0.5599 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.1841, allocations: 7.938 kB / 0.5599 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.1842, allocations: 11.98 kB / 0.5599 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1842, allocations: 0 / 0.5599 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.1843, allocations: 23.91 kB / 0.5599 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1843, allocations: 4 kB / 0.5599 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.1843, allocations: 25.7 kB / 0.56 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.991e-05/0.1844, allocations: 23.97 kB / 0.56 GB, free: 9.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1844, allocations: 4 kB / 0.56 GB, free: 9.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1844, allocations: 0 / 0.56 GB, free: 9.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1844, allocations: 0 / 0.56 GB, free: 9.191 MB / 430.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.0004447/0.1849, allocations: 347.5 kB / 0.5603 GB, free: 8.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1849, allocations: 12.02 kB / 0.5603 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.185, allocations: 4 kB / 0.5603 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1851, allocations: 163.1 kB / 0.5605 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1851, allocations: 8 kB / 0.5605 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1851, allocations: 0 / 0.5605 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1853, allocations: 57.61 kB / 0.5606 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1853, allocations: 7.891 kB / 0.5606 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1853, allocations: 0 / 0.5606 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1853, allocations: 0 / 0.5606 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1855, allocations: 43.97 kB / 0.5606 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1858, allocations: 257 kB / 0.5609 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.186, allocations: 42.5 kB / 0.5609 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.1861, allocations: 32.86 kB / 0.5609 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1862, allocations: 81.09 kB / 0.561 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1862, allocations: 34.56 kB / 0.561 GB, free: 7.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1862, allocations: 0 / 0.561 GB, free: 7.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003472/0.1866, allocations: 101.5 kB / 0.5611 GB, free: 7.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1867, allocations: 51.41 kB / 0.5612 GB, free: 7.773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.1869, allocations: 110 kB / 0.5613 GB, free: 7.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1869, allocations: 25.7 kB / 0.5613 GB, free: 7.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.1869, allocations: 92.06 kB / 0.5614 GB, free: 7.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.187, allocations: 7.906 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.187, allocations: 0 / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.1872, allocations: 310.8 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.1873, allocations: 23.97 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.1874, allocations: 23.98 kB / 0.5618 GB, free: 7.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.1874, allocations: 23.98 kB / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1874, allocations: 0 / 0.5618 GB, free: 7.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.1876, allocations: 81.67 kB / 0.5619 GB, free: 7.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1877, allocations: 4 kB / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1877, allocations: 0 / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1877, allocations: 0 / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.1878, allocations: 15.98 kB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1878, allocations: 4.031 kB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.1879, allocations: 7.938 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1879, allocations: 0 / 0.5619 GB, free: 7.023 MB / 430.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.17e-05/0.188, allocations: 117.8 kB / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.188, allocations: 7.938 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1882, allocations: 80.78 kB / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1882, allocations: 0 / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1882, allocations: 0 / 0.5621 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1882, allocations: 15.86 kB / 0.5621 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1884, allocations: 157.7 kB / 0.5622 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1884, allocations: 3.984 kB / 0.5623 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.1885, allocations: 8 kB / 0.5623 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1885, allocations: 4.031 kB / 0.5623 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1885, allocations: 3.953 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1885, allocations: 0 / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1885, allocations: 0 / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1888, allocations: 183.4 kB / 0.5624 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1888, allocations: 81.09 kB / 0.5625 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1888, allocations: 0 / 0.5625 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.1889, allocations: 12.2 kB / 0.5625 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.189, allocations: 3.984 kB / 0.5625 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.189, allocations: 4 kB / 0.5625 GB, free: 6.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.189, allocations: 79.28 kB / 0.5626 GB, free: 6.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.189, allocations: 4.031 kB / 0.5626 GB, free: 6.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1892, allocations: 12 kB / 0.5626 GB, free: 6.16 MB / 430.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.0001754/0.1894, allocations: 99.94 kB / 0.5627 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1896, allocations: 55.89 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1897, allocations: 0 / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.1897, allocations: 19.98 kB / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.19, allocations: 11.98 kB / 0.5628 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.1903, allocations: 134.5 kB / 0.5629 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1906, allocations: 0.677 MB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.1907, allocations: 7.438 kB / 0.5636 GB, free: 5.094 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1907, allocations: 7.938 kB / 0.5636 GB, free: 5.086 MB / 430.1 MB Notification: Performance of Templates: time 0.002027/0.1927, allocations: 0.6417 MB / 0.5642 GB, free: 4.453 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1