Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009683, allocations: 88.42 kB / 17.63 MB, free: 5.711 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.001072/0.001072, allocations: 176.5 kB / 18.52 MB, free: 5.164 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.585/1.585, allocations: 223.2 MB / 242.5 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.22 MB / 337.9 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 9.219 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1532, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007156/0.1539, allocations: 215 kB / 472.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1557, allocations: 1.306 MB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1558, allocations: 8 kB / 473.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1558, allocations: 3.938 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.004e-05/0.1558, allocations: 0 / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.1564, allocations: 142.7 kB / 473.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.718e-05/0.1565, allocations: 11.98 kB / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1565, allocations: 0 / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.1566, allocations: 4 kB / 473.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.1566, allocations: 0 / 473.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1566, allocations: 4 kB / 473.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.1571, allocations: 267.6 kB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.1571, allocations: 0 / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1571, allocations: 25.7 kB / 474.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1573, allocations: 83.83 kB / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1573, allocations: 0 / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.1573, allocations: 0 / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1573, allocations: 0 / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004002/0.1577, allocations: 327.4 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1578, allocations: 12.03 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1578, allocations: 0 / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.158, allocations: 171.1 kB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.158, allocations: 0 / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.158, allocations: 7.891 kB / 474.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.931e-05/0.1581, allocations: 29.7 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1581, allocations: 0 / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1582, allocations: 4 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1582, allocations: 0 / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.1582, allocations: 4 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1584, allocations: 153.6 kB / 474.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.1584, allocations: 22.61 kB / 475 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.1585, allocations: 20.72 kB / 475 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1585, allocations: 4.062 kB / 475 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1585, allocations: 34.52 kB / 475 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1585, allocations: 0 / 475 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002187/0.1587, allocations: 33.69 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.1588, allocations: 63.53 kB / 475.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.159, allocations: 89.86 kB / 475.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.159, allocations: 25.7 kB / 475.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.1591, allocations: 84.14 kB / 475.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.1592, allocations: 3.906 kB / 475.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1592, allocations: 0 / 475.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002902/0.1595, allocations: 314.8 kB / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1595, allocations: 7.938 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.1595, allocations: 8.125 kB / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.1596, allocations: 0 / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1596, allocations: 0 / 475.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.796e-05/0.1597, allocations: 33.7 kB / 475.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.1597, allocations: 7.953 kB / 475.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1597, allocations: 0 / 475.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1597, allocations: 0 / 475.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.1598, allocations: 4 kB / 475.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1599, allocations: 0 / 475.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.1599, allocations: 4.078 kB / 475.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1599, allocations: 4 kB / 475.7 MB, free: 9.992 MB / 350.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 (1): * Single equations (assignments): 1 * 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 0.0001515/0.1601, allocations: 110.7 kB / 475.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-06/0.1601, allocations: 0 / 475.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.1603, allocations: 56.66 kB / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1603, allocations: 0 / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1603, allocations: 4.031 kB / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1603, allocations: 0 / 475.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1605, allocations: 153.6 kB / 476 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.1605, allocations: 3.984 kB / 476 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.1605, allocations: 0 / 476 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1605, allocations: 0 / 476 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1606, allocations: 4 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.1606, allocations: 3.953 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1606, allocations: 3.938 kB / 476 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1607, allocations: 65.08 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.1608, allocations: 81.02 kB / 476.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1608, allocations: 3.984 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1609, allocations: 7.938 kB / 476.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.161, allocations: 3.953 kB / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.161, allocations: 4 kB / 476.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.296e-05/0.1611, allocations: 83.28 kB / 476.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1611, allocations: 128 / 476.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.1615, allocations: 43.98 kB / 476.3 MB, free: 9.27 MB / 350.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004064/0.1619, allocations: 131.2 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1621, allocations: 8 kB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1621, allocations: 0 / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.1621, allocations: 29.7 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1624, allocations: 9.469 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.1627, allocations: 108.6 kB / 476.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1631, allocations: 0.677 MB / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.1631, allocations: 7.438 kB / 477.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1631, allocations: 0 / 477.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of Templates: time 0.002983/0.1661, allocations: 0.9012 MB / 478.2 MB, free: 7.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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 OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3CalcHelperMain.o] Error 1