Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000818/0.0008181, allocations: 92.64 kB / 16.33 MB, free: 5.953 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.0008154/0.0008154, allocations: 184 kB / 17.22 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4018/0.4018, allocations: 43.56 MB / 315.2 MB, free: 8.836 MB / 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.0005615/0.0005615, allocations: 14.97 kB / 384.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1332, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009367/0.1342, allocations: 300.3 kB / 443.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.1347, allocations: 119.7 kB / 443.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.1347, allocations: 0 / 443.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1348, allocations: 0 / 443.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.1351, allocations: 23.91 kB / 443.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.586e-06/0.1351, allocations: 0 / 443.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.1352, allocations: 19.92 kB / 443.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.1352, allocations: 4 kB / 443.9 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.1353, allocations: 15.92 kB / 443.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.1354, allocations: 11.92 kB / 443.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1354, allocations: 0 / 443.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1355, allocations: 51.95 kB / 443.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1355, allocations: 7.922 kB / 444 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1356, allocations: 25.7 kB / 444 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.1357, allocations: 31.89 kB / 444 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1357, allocations: 0 / 444 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1357, allocations: 0 / 444 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.1357, allocations: 0 / 444 MB, free: 12.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003749/0.1361, allocations: 343.5 kB / 444.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1362, allocations: 15.97 kB / 444.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.1362, allocations: 0 / 444.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1364, allocations: 171 kB / 444.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1364, allocations: 0 / 444.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1364, allocations: 8 kB / 444.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1366, allocations: 57.67 kB / 444.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1366, allocations: 0 / 444.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1366, allocations: 4 kB / 444.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1366, allocations: 4 kB / 444.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1368, allocations: 55.89 kB / 444.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.137, allocations: 177.5 kB / 444.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1372, allocations: 78.55 kB / 444.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.1373, allocations: 28.84 kB / 444.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/0.1377, allocations: 255.3 kB / 445.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.1378, allocations: 38.55 kB / 445.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1378, allocations: 288 / 445.2 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002891/0.1381, allocations: 97.62 kB / 445.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1381, allocations: 55.34 kB / 445.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.1382, allocations: 97.84 kB / 445.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1382, allocations: 25.7 kB / 445.5 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.1383, allocations: 80.27 kB / 445.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.1383, allocations: 39.47 kB / 445.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1383, allocations: 0 / 445.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1385, allocations: 318.8 kB / 445.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.1385, allocations: 20.38 kB / 445.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.1386, allocations: 27.86 kB / 446 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.1386, allocations: 16 kB / 446 MB, free: 10.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1386, allocations: 0 / 446 MB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001403/0.1388, allocations: 85.62 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1388, allocations: 4 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1388, allocations: 4 kB / 446.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1388, allocations: 3.984 kB / 446.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1389, allocations: 12 kB / 446.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.139, allocations: 4 kB / 446.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.139, allocations: 3.938 kB / 446.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.139, allocations: 4 kB / 446.1 MB, free: 10.09 MB / 382.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 (10): * Single equations (assignments): 10 * 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.000103/0.1391, allocations: 125.7 kB / 446.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.1391, allocations: 7.906 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.1393, allocations: 109.5 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1393, allocations: 0 / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1394, allocations: 0 / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1394, allocations: 0 / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1395, allocations: 173.6 kB / 446.5 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1395, allocations: 3.984 kB / 446.5 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.1396, allocations: 16 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1396, allocations: 0 / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1396, allocations: 4 kB / 446.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1396, allocations: 384 / 446.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.1396, allocations: 4 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1398, allocations: 124.8 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1399, allocations: 81.05 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1399, allocations: 4 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.1399, allocations: 4 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1399, allocations: 7.984 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1399, allocations: 0 / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.595e-05/0.14, allocations: 79.28 kB / 446.8 MB, free: 9.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.14, allocations: 4 kB / 446.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.1402, allocations: 12 kB / 446.8 MB, free: 9.242 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001597/0.1404, allocations: 115.1 kB / 447 MB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1405, allocations: 55.92 kB / 447 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1405, allocations: 0 / 447 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.1406, allocations: 27.98 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.1407, allocations: 11.95 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.1411, allocations: 180.4 kB / 447.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1414, allocations: 0.6809 MB / 447.9 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.1414, allocations: 11.44 kB / 447.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1414, allocations: 0 / 447.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of Templates: time 0.002514/0.1439, allocations: 0.8049 MB / 448.7 MB, free: 7.293 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctionsCalcHelperMain.o] Error 1