Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 97.45 kB / 17.63 MB, free: 5.895 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.001198/0.001198, allocations: 185.8 kB / 18.52 MB, free: 5.188 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.551/1.551, allocations: 223.2 MB / 242.5 MB, free: 14.59 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.2508/0.2508, allocations: 44.23 MB / 337.9 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1486, allocations: 61.93 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006886/0.1493, allocations: 219 kB / 472.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1496, allocations: 95.55 kB / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1497, allocations: 0 / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.1497, allocations: 0 / 472.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1499, allocations: 15.91 kB / 472.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.501e-05/0.1499, allocations: 0 / 472.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.286e-05/0.15, allocations: 12 kB / 472.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.1501, allocations: 0 / 472.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.1501, allocations: 7.984 kB / 472.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.1501, allocations: 3.938 kB / 472.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1502, allocations: 0 / 472.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.1502, allocations: 23.98 kB / 472.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.1503, allocations: 0 / 472.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1503, allocations: 25.7 kB / 472.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.458e-05/0.1504, allocations: 11.97 kB / 472.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1504, allocations: 0 / 472.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1504, allocations: 0 / 472.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1504, allocations: 8 kB / 472.6 MB, free: 13.27 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.0003116/0.1507, allocations: 315.4 kB / 472.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1508, allocations: 12.62 kB / 472.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.1508, allocations: 0 / 472.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1509, allocations: 159.1 kB / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1509, allocations: 0 / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.151, allocations: 4 kB / 473.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1511, allocations: 45.58 kB / 473.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1511, allocations: 7.922 kB / 473.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1511, allocations: 4 kB / 473.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1511, allocations: 0 / 473.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.1512, allocations: 7.984 kB / 473.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1513, allocations: 150 kB / 473.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1515, allocations: 34.61 kB / 473.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.1516, allocations: 12.8 kB / 473.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.152, allocations: 129.1 kB / 473.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.152, allocations: 46.52 kB / 473.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.152, allocations: 0 / 473.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001197/0.1532, allocations: 217.3 kB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.1533, allocations: 51.41 kB / 473.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1534, allocations: 93.86 kB / 473.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1534, allocations: 25.7 kB / 473.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.1534, allocations: 92.25 kB / 474 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1535, allocations: 7.812 kB / 474 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.1535, allocations: 7.938 kB / 474 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1536, allocations: 310.8 kB / 474.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.1537, allocations: 23.98 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.1538, allocations: 27.97 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.1539, allocations: 19.98 kB / 474.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1539, allocations: 4 kB / 474.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.1541, allocations: 85.61 kB / 474.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1541, allocations: 11.95 kB / 474.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1541, allocations: 0 / 474.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1541, allocations: 0 / 474.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1543, allocations: 15.98 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1543, allocations: 3.984 kB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.1544, allocations: 8 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1544, allocations: 0 / 474.5 MB, free: 11.14 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 (5): * Single equations (assignments): 5 * 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.883e-05/0.1545, allocations: 113.8 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1545, allocations: 11.89 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1548, allocations: 97.11 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1548, allocations: 0 / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1548, allocations: 4 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1548, allocations: 0 / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.1555, allocations: 387.2 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1555, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.1556, allocations: 15.98 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1556, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1557, allocations: 320 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1557, allocations: 8 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1557, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1559, allocations: 184.4 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.156, allocations: 84.97 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.156, allocations: 7.984 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.1561, allocations: 11.94 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1561, allocations: 8.328 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1561, allocations: 3.984 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.1562, allocations: 75.28 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1562, allocations: 0 / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1564, allocations: 8 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001587/0.1566, allocations: 103.2 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1568, allocations: 60.05 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1568, allocations: 0 / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.1569, allocations: 35.91 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1571, allocations: 4 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1575, allocations: 173.3 kB / 475.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1578, allocations: 0.677 MB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1578, allocations: 7.438 kB / 476.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1578, allocations: 3.938 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of Templates: time 0.001958/0.1598, allocations: 0.6691 MB / 477.2 MB, free: 8.23 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStepCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.o] Error 1