Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009463/0.0009462, allocations: 92.11 kB / 17.63 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.001235/0.001235, allocations: 192.5 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.593/1.593, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002067/0.1458, allocations: 1.326 MB / 483.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1468, allocations: 0.5536 MB / 484 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.1469, allocations: 0 / 484 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.902e-05/0.147, allocations: 3.938 kB / 484 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.1471, allocations: 19.86 kB / 484 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1474, allocations: 71.89 kB / 484.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1476, allocations: 95.75 kB / 484.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1477, allocations: 27.91 kB / 484.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.1478, allocations: 39.84 kB / 484.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.1479, allocations: 31.84 kB / 484.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1479, allocations: 4 kB / 484.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.1479, allocations: 4 kB / 484.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.148, allocations: 15.91 kB / 484.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.148, allocations: 37.7 kB / 484.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1481, allocations: 56.06 kB / 484.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1481, allocations: 0 / 484.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1481, allocations: 0 / 484.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1481, allocations: 0 / 484.4 MB, free: 3.129 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006961/0.1488, allocations: 407.1 kB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1489, allocations: 8.031 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1489, allocations: 15.81 kB / 484.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1493, allocations: 197.4 kB / 485 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1493, allocations: 4 kB / 485 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1493, allocations: 8 kB / 485 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1496, allocations: 117.5 kB / 485.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1496, allocations: 0 / 485.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1496, allocations: 4 kB / 485.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1496, allocations: 4 kB / 485.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1498, allocations: 55.97 kB / 485.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.1505, allocations: 400.4 kB / 485.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.1508, allocations: 110.5 kB / 485.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1509, allocations: 44.92 kB / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1509, allocations: 0 / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.1513, allocations: 123.1 kB / 485.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1513, allocations: 0 / 485.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004325/0.1518, allocations: 145.8 kB / 486 MB, free: 1.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1519, allocations: 63.39 kB / 486.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.152, allocations: 142.4 kB / 486.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.152, allocations: 25.7 kB / 486.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1522, allocations: 104.2 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1522, allocations: 19.8 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.1522, allocations: 3.938 kB / 486.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1524, allocations: 326.8 kB / 486.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1525, allocations: 39.97 kB / 486.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1527, allocations: 57.62 kB / 486.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.1528, allocations: 31.98 kB / 486.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1528, allocations: 4 kB / 486.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002613/0.1531, allocations: 125.5 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1531, allocations: 11.95 kB / 486.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1531, allocations: 4.062 kB / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1531, allocations: 0 / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.1532, allocations: 15.98 kB / 487 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1532, allocations: 15.92 kB / 487 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/0.1533, allocations: 32 kB / 487 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1534, allocations: 4 kB / 487 MB, free: 296 kB / 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: 7 ($whenCondition1,$whenCondition2,integrator.reset,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.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 8.759e-05/0.1534, allocations: 117.8 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.1535, allocations: 7.906 kB / 487.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.1535, allocations: 20.67 kB / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1535, allocations: 0 / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1535, allocations: 4 kB / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1535, allocations: 0 / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1541, allocations: 398.5 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1541, allocations: 7.891 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.1542, allocations: 12 kB / 487.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1542, allocations: 3.984 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1542, allocations: 288 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1542, allocations: 0 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1542, allocations: 0 / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.1547, allocations: 263.3 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1547, allocations: 89.03 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1547, allocations: 7.969 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1549, allocations: 27.97 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1549, allocations: 11.97 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.155, allocations: 4 kB / 488 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1551, allocations: 111 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1551, allocations: 4 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.1554, allocations: 19.91 kB / 488.1 MB, free: 15.11 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,change.u) * Number of discrete states: 1 (change.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.0001057/0.1555, allocations: 103.7 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1557, allocations: 91.89 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1557, allocations: 0 / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1559, allocations: 43.97 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1562, allocations: 14.75 kB / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.1567, allocations: 264.9 kB / 488.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1571, allocations: 0.6965 MB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.1571, allocations: 15.44 kB / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1572, allocations: 0 / 489.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.003085/0.1602, allocations: 1.329 MB / 490.6 MB, free: 12.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.LimResetIntegratorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegratorCalcHelperMain.o] Error 1