Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 89.92 kB / 16.67 MB, free: 6.102 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.001413/0.001413, allocations: 181.6 kB / 17.58 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005793, allocations: 16.75 kB / 385.2 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0007287/0.1554, allocations: 224.7 kB / 444.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1571, allocations: 1.43 MB / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.1571, allocations: 0 / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.1572, allocations: 0 / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.1572, allocations: 0 / 445.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.1578, allocations: 151.6 kB / 445.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.1578, allocations: 12 kB / 445.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.1579, allocations: 3.984 kB / 445.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.1579, allocations: 4 kB / 445.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.158, allocations: 0 / 445.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.158, allocations: 0 / 445.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.1584, allocations: 271.6 kB / 446.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1584, allocations: 7.938 kB / 446.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1584, allocations: 25.7 kB / 446.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1586, allocations: 87.81 kB / 446.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1586, allocations: 0 / 446.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1586, allocations: 4 kB / 446.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1586, allocations: 0 / 446.3 MB, free: 2.938 MB / 318.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.0003216/0.1589, allocations: 335.5 kB / 446.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.159, allocations: 12.03 kB / 446.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.159, allocations: 0.9375 kB / 446.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.1591, allocations: 164.4 kB / 446.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1591, allocations: 384 / 446.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.1591, allocations: 384 / 446.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.1592, allocations: 45.94 kB / 446.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1593, allocations: 4 kB / 446.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1593, allocations: 4 kB / 446.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1593, allocations: 0 / 446.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.1593, allocations: 4 kB / 446.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.1597, allocations: 244.9 kB / 447.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.125e-05/0.1597, allocations: 26.56 kB / 447.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.1597, allocations: 8.797 kB / 447.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1598, allocations: 4 kB / 447.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.1598, allocations: 34.5 kB / 447.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1598, allocations: 3.938 kB / 447.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.16, allocations: 37.75 kB / 447.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.16, allocations: 51.41 kB / 447.3 MB, free: 1.797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.1601, allocations: 97.86 kB / 447.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1601, allocations: 25.95 kB / 447.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.1601, allocations: 88.05 kB / 447.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.1602, allocations: 3.984 kB / 447.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.1602, allocations: 13.72 kB / 447.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.1603, allocations: 318.8 kB / 447.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.1603, allocations: 3.938 kB / 447.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.1603, allocations: 18.58 kB / 447.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.1603, allocations: 34.56 kB / 447.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1603, allocations: 0 / 447.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.812e-05/0.1604, allocations: 49.55 kB / 447.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1604, allocations: 6.031 kB / 447.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1604, allocations: 0 / 447.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1605, allocations: 4 kB / 447.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.1605, allocations: 11.92 kB / 447.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1605, allocations: 4.094 kB / 447.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.1606, allocations: 8 kB / 447.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1606, allocations: 0 / 447.9 MB, free: 1.066 MB / 318.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 (3): * Single equations (assignments): 3 * 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 6.722e-05/0.1607, allocations: 117.7 kB / 448 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.1607, allocations: 0 / 448 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1608, allocations: 44.81 kB / 448.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1608, allocations: 4.031 kB / 448.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1608, allocations: 3.938 kB / 448.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1608, allocations: 0 / 448.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.1609, allocations: 153.6 kB / 448.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.161, allocations: 3.984 kB / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.161, allocations: 0 / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.161, allocations: 0 / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-06/0.161, allocations: 0 / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.161, allocations: 0 / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.161, allocations: 4 kB / 448.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.909e-05/0.1611, allocations: 135.5 kB / 448.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.1611, allocations: 85.03 kB / 448.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1611, allocations: 0 / 448.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.1612, allocations: 0 / 448.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1612, allocations: 0 / 448.5 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1612, allocations: 4 kB / 448.5 MB, free: 432 kB / 318.1 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.1612, allocations: 75.28 kB / 448.5 MB, free: 356 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 4.125 kB / 448.6 MB, free: 352 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1615, allocations: 51.92 kB / 448.6 MB, free: 300 kB / 318.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 (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.0002475/0.1618, allocations: 135.2 kB / 448.7 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.1619, allocations: 12 kB / 448.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1619, allocations: 0 / 448.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1619, allocations: 29.7 kB / 448.8 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1621, allocations: 14.11 kB / 448.8 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1625, allocations: 112.7 kB / 448.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1629, allocations: 0.6808 MB / 449.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1629, allocations: 11.44 kB / 449.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1629, allocations: 0 / 449.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.002826/0.1658, allocations: 0.9143 MB / 450.5 MB, free: 14.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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 OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.o] Error 1