Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.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.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000803/0.0008028, allocations: 91.25 kB / 17.63 MB, free: 5.891 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.0009311/0.0009313, allocations: 190.2 kB / 18.52 MB, free: 5.184 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.475/1.475, allocations: 223.2 MB / 242.5 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 44.21 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 9.25 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.001853/0.1495, allocations: 1.299 MB / 473.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.1503, allocations: 459.1 kB / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.1504, allocations: 4 kB / 473.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.1505, allocations: 7.922 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.068e-05/0.1506, allocations: 7.922 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1508, allocations: 27.92 kB / 474 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1509, allocations: 75.7 kB / 474 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.151, allocations: 24.22 kB / 474.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1511, allocations: 23.91 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.1512, allocations: 23.86 kB / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1512, allocations: 0 / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.1512, allocations: 4 kB / 474.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1512, allocations: 15.92 kB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.1513, allocations: 37.64 kB / 474.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.1514, allocations: 48.12 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1514, allocations: 4 kB / 474.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1514, allocations: 0 / 474.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1514, allocations: 0 / 474.2 MB, free: 11.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005661/0.152, allocations: 379.1 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.152, allocations: 8.031 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.1521, allocations: 7.906 kB / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1523, allocations: 190.8 kB / 474.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1523, allocations: 12 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1524, allocations: 11.94 kB / 474.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1525, allocations: 69.67 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1526, allocations: 0 / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1526, allocations: 8 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1526, allocations: 0 / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.1527, allocations: 35.97 kB / 474.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.1533, allocations: 368.4 kB / 475.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1534, allocations: 46.5 kB / 475.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1534, allocations: 16.89 kB / 475.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1534, allocations: 0 / 475.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1536, allocations: 71.44 kB / 475.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1536, allocations: 0 / 475.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002143/0.1538, allocations: 85.52 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1539, allocations: 55.36 kB / 475.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.154, allocations: 148.2 kB / 475.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.154, allocations: 25.7 kB / 475.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1541, allocations: 104 kB / 475.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1541, allocations: 19.89 kB / 475.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1541, allocations: 4 kB / 475.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1543, allocations: 322.8 kB / 476.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.1543, allocations: 19.94 kB / 476.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.1544, allocations: 38.56 kB / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.1544, allocations: 16 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1544, allocations: 0 / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001264/0.1545, allocations: 85.84 kB / 476.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1546, allocations: 8 kB / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1546, allocations: 0 / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1546, allocations: 0 / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1547, allocations: 19.92 kB / 476.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1547, allocations: 8.016 kB / 476.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.1548, allocations: 11.91 kB / 476.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1548, allocations: 4 kB / 476.4 MB, free: 9.289 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: 7 ($whenCondition1,$whenCondition2,integrator.reset,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.fallingEdge.not_u,fallingEdge.not_u) * 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 9.179e-05/0.1549, allocations: 124.7 kB / 476.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.1549, allocations: 7.906 kB / 476.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.1549, allocations: 12.72 kB / 476.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1549, allocations: 4 kB / 476.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1549, allocations: 0 / 476.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.155, allocations: 3.953 kB / 476.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.1553, allocations: 342.4 kB / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1553, allocations: 0 / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.1554, allocations: 8 kB / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1554, allocations: 8 kB / 476.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1554, allocations: 7.984 kB / 476.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1554, allocations: 3.953 kB / 476.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1554, allocations: 0 / 476.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.1556, allocations: 191.4 kB / 477.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1557, allocations: 85.05 kB / 477.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1557, allocations: 0 / 477.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.1558, allocations: 16.05 kB / 477.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.1559, allocations: 15.94 kB / 477.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1559, allocations: 3.938 kB / 477.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.002e-05/0.1559, allocations: 105.3 kB / 477.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 0 / 477.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1562, allocations: 15.91 kB / 477.3 MB, free: 8.258 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: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.711e-05/0.1563, allocations: 95.25 kB / 477.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1564, allocations: 43.98 kB / 477.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1564, allocations: 4.25 kB / 477.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.1565, allocations: 31.92 kB / 477.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1568, allocations: 31.47 kB / 477.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.1573, allocations: 259.1 kB / 477.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1576, allocations: 0.7004 MB / 478.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1576, allocations: 15.44 kB / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1576, allocations: 0 / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of Templates: time 0.002706/0.1603, allocations: 1.122 MB / 479.6 MB, free: 5.898 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegrator.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.Blocks.ResetHoldIntegratorCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o] Error 1