Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008296/0.0008298, allocations: 92.2 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009541/0.0009542, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2679/0.2679, allocations: 45.91 MB / 344.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002845, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001219/0.1638, allocations: 0.5141 MB / 482.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002022/0.164, allocations: 47.84 kB / 482.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.1641, allocations: 0 / 482.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1642, allocations: 11.92 kB / 482.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.711e-05/0.1642, allocations: 4 kB / 482.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1643, allocations: 19.86 kB / 482.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.1644, allocations: 35.91 kB / 482.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1646, allocations: 15.98 kB / 482.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.1646, allocations: 3.938 kB / 482.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.1647, allocations: 7.938 kB / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1647, allocations: 0 / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.1647, allocations: 4 kB / 482.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.1647, allocations: 7.984 kB / 482.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.1648, allocations: 25.7 kB / 482.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.1649, allocations: 35.89 kB / 482.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000498/0.1654, allocations: 339.5 kB / 483.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1654, allocations: 8.031 kB / 483.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1655, allocations: 4 kB / 483.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1657, allocations: 174.9 kB / 483.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1658, allocations: 11.98 kB / 483.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1658, allocations: 8 kB / 483.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1659, allocations: 49.67 kB / 483.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1659, allocations: 0 / 483.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.166, allocations: 7.984 kB / 483.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.166, allocations: 3.938 kB / 483.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.166, allocations: 12 kB / 483.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.1666, allocations: 296.7 kB / 483.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.1667, allocations: 30.52 kB / 483.8 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.1667, allocations: 4.859 kB / 483.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.1667, allocations: 4.062 kB / 483.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.1668, allocations: 55.41 kB / 483.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1668, allocations: 0 / 483.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.167, allocations: 61.48 kB / 483.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1671, allocations: 55.41 kB / 484 MB, free: 3.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1672, allocations: 118 kB / 484.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1672, allocations: 29.64 kB / 484.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1673, allocations: 88.14 kB / 484.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1673, allocations: 7.906 kB / 484.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.1673, allocations: 0 / 484.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1675, allocations: 318.8 kB / 484.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.1675, allocations: 4 kB / 484.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.1675, allocations: 25.72 kB / 484.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.1676, allocations: 4 kB / 484.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1676, allocations: 0 / 484.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.454e-05/0.1677, allocations: 61.53 kB / 484.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1677, allocations: 4 kB / 484.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1677, allocations: 0 / 484.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1677, allocations: 0 / 484.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.1677, allocations: 7.953 kB / 484.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1678, allocations: 8.016 kB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1678, allocations: 4 kB / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1678, allocations: 0 / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.425e-05/0.1679, allocations: 113.8 kB / 484.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.1679, allocations: 4.328 kB / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.168, allocations: 7.844 kB / 484.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.168, allocations: 0 / 484.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.168, allocations: 7.938 kB / 484.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.168, allocations: 0 / 484.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.1683, allocations: 302.5 kB / 485 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1683, allocations: 0 / 485 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1684, allocations: 4 kB / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1684, allocations: 0 / 485 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1684, allocations: 4.328 kB / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1684, allocations: 0 / 485.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1684, allocations: 3.938 kB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1686, allocations: 155.5 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.1686, allocations: 92.92 kB / 485.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1687, allocations: 0 / 485.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.1687, allocations: 3.953 kB / 485.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.1688, allocations: 7.984 kB / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1688, allocations: 0 / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.1688, allocations: 91.22 kB / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1689, allocations: 0 / 485.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1691, allocations: 4 kB / 485.4 MB, free: 1.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001148/0.1692, allocations: 103.8 kB / 485.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.1693, allocations: 19.94 kB / 485.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1693, allocations: 0 / 485.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.1693, allocations: 11.98 kB / 485.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1696, allocations: 12 kB / 485.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.1699, allocations: 166.5 kB / 485.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1703, allocations: 0.6848 MB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1704, allocations: 11.44 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.645e-06/0.1704, allocations: 0 / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of Templates: time 0.002497/0.1729, allocations: 0.7226 MB / 487.1 MB, free: 15.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegrator.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_trunk_ModelicaTest.Blocks.SelfResettingIntegratorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.SelfResettingIntegratorCalcHelperMain.o] Error 1