Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_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.0008482/0.0008483, allocations: 88.27 kB / 17.63 MB, free: 5.719 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.0009987/0.0009983, allocations: 183 kB / 18.52 MB, free: 5.172 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.62/1.62, allocations: 223.3 MB / 242.5 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2534/0.2534, allocations: 44.22 MB / 337.9 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 8.875 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.000717/0.1465, allocations: 215 kB / 472.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1489, allocations: 1.317 MB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.149, allocations: 0 / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.149, allocations: 0 / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.149, allocations: 3.938 kB / 473.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007602/0.1498, allocations: 145.6 kB / 473.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.1499, allocations: 11.97 kB / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.1499, allocations: 4 kB / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.15, allocations: 0 / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.782e-05/0.1501, allocations: 4 kB / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1501, allocations: 0 / 473.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.1506, allocations: 267.6 kB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.1506, allocations: 0 / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1506, allocations: 25.7 kB / 474.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1508, allocations: 83.83 kB / 474.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1508, allocations: 0 / 474.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1508, allocations: 0 / 474.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1508, allocations: 0 / 474.2 MB, free: 11.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003734/0.1512, allocations: 331.4 kB / 474.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1512, allocations: 12.03 kB / 474.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1513, allocations: 4 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1514, allocations: 163.1 kB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1514, allocations: 0 / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1514, allocations: 7.953 kB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1515, allocations: 37.64 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1516, allocations: 0 / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1516, allocations: 0 / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1516, allocations: 7.922 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.1516, allocations: 4 kB / 474.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.152, allocations: 244.9 kB / 475 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.574e-05/0.1521, allocations: 30.52 kB / 475.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1521, allocations: 8.797 kB / 475.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1521, allocations: 0 / 475.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1521, allocations: 34.62 kB / 475.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1521, allocations: 0 / 475.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.1523, allocations: 33.7 kB / 475.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1523, allocations: 51.41 kB / 475.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.1524, allocations: 105.8 kB / 475.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1524, allocations: 25.7 kB / 475.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1525, allocations: 84.36 kB / 475.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.1525, allocations: 7.906 kB / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.1525, allocations: 0 / 475.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1527, allocations: 314.8 kB / 475.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1527, allocations: 8.188 kB / 475.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.1527, allocations: 22.56 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.1527, allocations: 7.953 kB / 475.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1527, allocations: 0 / 475.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.267e-05/0.1528, allocations: 49.62 kB / 475.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1528, allocations: 8 kB / 475.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1529, allocations: 4.094 kB / 475.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1529, allocations: 0 / 475.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.1529, allocations: 4 kB / 475.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1529, allocations: 4 kB / 475.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.153, allocations: 0 / 475.8 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.153, allocations: 0 / 475.8 MB, free: 9.852 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/0.1531, allocations: 118.3 kB / 475.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1531, allocations: 3.938 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1532, allocations: 56.84 kB / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1532, allocations: 0 / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1532, allocations: 0 / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1533, allocations: 0 / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1534, allocations: 153.7 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1534, allocations: 3.953 kB / 476.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1534, allocations: 0 / 476.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1534, allocations: 0 / 476.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1534, allocations: 4 kB / 476.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1535, allocations: 7.969 kB / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1535, allocations: 0 / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.1536, allocations: 139.4 kB / 476.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.1537, allocations: 85 kB / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1537, allocations: 0 / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.1537, allocations: 0 / 476.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.1538, allocations: 4 kB / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1538, allocations: 4.031 kB / 476.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.1538, allocations: 75.28 kB / 476.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1538, allocations: 0 / 476.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1541, allocations: 43.98 kB / 476.5 MB, free: 9.066 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.0002872/0.1544, allocations: 139.2 kB / 476.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.1545, allocations: 11.92 kB / 476.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1545, allocations: 288 / 476.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.1546, allocations: 33.7 kB / 476.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1548, allocations: 10.41 kB / 476.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.155, allocations: 104.7 kB / 476.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1553, allocations: 0.6692 MB / 477.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.1554, allocations: 11.44 kB / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1554, allocations: 0 / 477.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Templates: time 0.002712/0.1581, allocations: 0.9126 MB / 478.4 MB, free: 7.109 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3CalcHelperMain.o] Error 1