Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 94.98 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 192.3 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 45.9 MB / 344.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 418.6 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 63.47 MB / 482.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002115/0.1508, allocations: 1.314 MB / 483.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.1517, allocations: 487.1 kB / 483.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.1518, allocations: 0 / 483.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.885e-05/0.1519, allocations: 11.88 kB / 483.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.152, allocations: 11.92 kB / 483.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1522, allocations: 35.91 kB / 484 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1523, allocations: 67.83 kB / 484 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1524, allocations: 24.2 kB / 484.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.1525, allocations: 23.86 kB / 484.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.1525, allocations: 27.84 kB / 484.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1526, allocations: 4 kB / 484.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.1526, allocations: 0 / 484.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.1526, allocations: 15.92 kB / 484.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.1527, allocations: 37.64 kB / 484.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.1528, allocations: 44.14 kB / 484.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1528, allocations: 0 / 484.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1528, allocations: 0 / 484.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1528, allocations: 0 / 484.2 MB, free: 3.348 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.0005172/0.1533, allocations: 375.1 kB / 484.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1534, allocations: 16.02 kB / 484.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1534, allocations: 11.91 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1536, allocations: 194.8 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1536, allocations: 4 kB / 484.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1537, allocations: 8 kB / 484.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1538, allocations: 73.66 kB / 484.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1539, allocations: 0 / 484.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1539, allocations: 4 kB / 484.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1539, allocations: 3.938 kB / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.154, allocations: 31.98 kB / 484.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.1547, allocations: 364.5 kB / 485.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1548, allocations: 54.58 kB / 485.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1548, allocations: 16.86 kB / 485.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1548, allocations: 3.953 kB / 485.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.155, allocations: 71.38 kB / 485.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.155, allocations: 0 / 485.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002444/0.1553, allocations: 81.59 kB / 485.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1553, allocations: 63.33 kB / 485.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1555, allocations: 134 kB / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1555, allocations: 33.7 kB / 485.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1556, allocations: 96.05 kB / 485.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1556, allocations: 23.86 kB / 485.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1556, allocations: 4 kB / 485.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1558, allocations: 318.8 kB / 486.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.1558, allocations: 12 kB / 486.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.1559, allocations: 42.5 kB / 486.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.1559, allocations: 20 kB / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1559, allocations: 0 / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001401/0.1561, allocations: 89.48 kB / 486.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1561, allocations: 4 kB / 486.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1561, allocations: 0 / 486.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1561, allocations: 4 kB / 486.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.703e-05/0.1562, allocations: 15.92 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1562, allocations: 4.391 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.1563, allocations: 11.97 kB / 486.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1563, allocations: 8 kB / 486.4 MB, free: 0.9648 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.883e-05/0.1564, allocations: 113.8 kB / 486.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.1565, allocations: 15.84 kB / 486.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.1565, allocations: 12.72 kB / 486.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1565, allocations: 0 / 486.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1565, allocations: 0 / 486.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1565, allocations: 3.984 kB / 486.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1569, allocations: 362.4 kB / 486.9 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1569, allocations: 3.938 kB / 486.9 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.157, allocations: 4 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.157, allocations: 0 / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.157, allocations: 0 / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.157, allocations: 3.984 kB / 486.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.157, allocations: 0 / 486.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1572, allocations: 187.4 kB / 487 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1573, allocations: 93.02 kB / 487.1 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1573, allocations: 4.031 kB / 487.1 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.1574, allocations: 8 kB / 487.1 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.1575, allocations: 7.984 kB / 487.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1575, allocations: 7.984 kB / 487.2 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.1576, allocations: 101.1 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1576, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1578, allocations: 19.91 kB / 487.3 MB, free: 15.94 MB / 366.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 0.0001008/0.1579, allocations: 95.78 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1581, allocations: 51.91 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1581, allocations: 0 / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.1582, allocations: 24.17 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.1585, allocations: 27.48 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.159, allocations: 253 kB / 487.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1594, allocations: 0.6965 MB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1594, allocations: 15.44 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1594, allocations: 0 / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of Templates: time 0.002825/0.1622, allocations: 1.138 MB / 489.6 MB, free: 13.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegratorCalcHelperMain.o] Error 1