Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_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.00152/0.00152, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.00161/0.00161, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.854/1.854, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.2399/0.2399, allocations: 43.51 MB / 314.1 MB, free: 0.7461 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.001557/0.001557, allocations: 72.39 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.156, allocations: 57.78 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001805/0.1579, allocations: 0.604 MB / 441.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.1582, allocations: 73.62 kB / 441.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.1582, allocations: 4 kB / 441.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.1583, allocations: 0 / 441.1 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.1585, allocations: 8 kB / 441.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.877e-05/0.1585, allocations: 7.938 kB / 441.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.1586, allocations: 7.922 kB / 441.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.1587, allocations: 4 kB / 441.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.1587, allocations: 4 kB / 441.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.1587, allocations: 3.984 kB / 441.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1588, allocations: 4 kB / 441.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.1588, allocations: 15.98 kB / 441.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1589, allocations: 7.984 kB / 441.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1589, allocations: 7.938 kB / 441.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.008e-05/0.159, allocations: 7.984 kB / 441.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.159, allocations: 0 / 441.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.159, allocations: 0 / 441.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.159, allocations: 0 / 441.2 MB, free: 6.758 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.0003009/0.1593, allocations: 323.8 kB / 441.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1593, allocations: 12.03 kB / 441.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.1594, allocations: 4.922 kB / 441.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/0.1595, allocations: 168.4 kB / 441.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1595, allocations: 4.312 kB / 441.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1595, allocations: 4.375 kB / 441.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.1596, allocations: 34.27 kB / 441.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1596, allocations: 4.172 kB / 441.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1597, allocations: 3.938 kB / 441.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1597, allocations: 0 / 441.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.1597, allocations: 7.938 kB / 441.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1598, allocations: 153.7 kB / 441.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.16, allocations: 42.52 kB / 442 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.1601, allocations: 16.88 kB / 442 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.1604, allocations: 113.1 kB / 442.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1604, allocations: 30.56 kB / 442.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1604, allocations: 4 kB / 442.1 MB, free: 5.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.001314/0.1618, allocations: 189.3 kB / 442.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.1618, allocations: 51.41 kB / 442.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696e-05/0.1619, allocations: 97.86 kB / 442.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.1619, allocations: 25.7 kB / 442.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.579e-05/0.1619, allocations: 84.12 kB / 442.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1619, allocations: 15.75 kB / 442.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.162, allocations: 17.7 kB / 442.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.162, allocations: 318.8 kB / 442.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.1621, allocations: 11.98 kB / 442.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.1622, allocations: 20.11 kB / 442.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1623, allocations: 48.83 kB / 443 MB, free: 4.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1623, allocations: 3.938 kB / 443 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000166/0.1625, allocations: 81.84 kB / 443.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1625, allocations: 11.94 kB / 443.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1625, allocations: 0 / 443.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1625, allocations: 0 / 443.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1627, allocations: 15.98 kB / 443.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1627, allocations: 4 kB / 443.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.1628, allocations: 7.984 kB / 443.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1628, allocations: 0 / 443.1 MB, free: 4.621 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.1628, allocations: 117.8 kB / 443.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.1628, allocations: 7.938 kB / 443.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1631, allocations: 97.05 kB / 443.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1631, allocations: 0 / 443.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1631, allocations: 0 / 443.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1631, allocations: 0 / 443.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.1637, allocations: 355.5 kB / 443.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1637, allocations: 4.031 kB / 443.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.1638, allocations: 15.98 kB / 443.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1638, allocations: 48 / 443.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1638, allocations: 3.984 kB / 443.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1638, allocations: 7.938 kB / 443.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1638, allocations: 0 / 443.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.164, allocations: 184.2 kB / 443.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.1641, allocations: 77.11 kB / 444 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1641, allocations: 7.938 kB / 444 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.1642, allocations: 8.172 kB / 444 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1642, allocations: 8 kB / 444 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1642, allocations: 4 kB / 444 MB, free: 3.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.733e-05/0.1642, allocations: 75.28 kB / 444.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 444.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1645, allocations: 16.08 kB / 444.1 MB, free: 3.539 MB / 318.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 (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.0001127/0.1646, allocations: 99.25 kB / 444.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1648, allocations: 55.83 kB / 444.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1648, allocations: 0 / 444.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/0.1649, allocations: 23.98 kB / 444.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1651, allocations: 4.625 kB / 444.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.1655, allocations: 169.2 kB / 444.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.1657, allocations: 0.677 MB / 445.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.1657, allocations: 11.44 kB / 445.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1657, allocations: 0 / 445.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Templates: time 0.00206/0.1678, allocations: 0.6606 MB / 445.8 MB, free: 1.773 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStepCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.o] Error 1