Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96.92 kB / 16.67 MB, free: 6.25 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.001234/0.001234, allocations: 174.9 kB / 17.57 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.959/1.959, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2769/0.2769, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 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.0005896/0.0005898, allocations: 20.12 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1467, allocations: 58.86 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001929/0.1487, allocations: 1.351 MB / 445.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1498, allocations: 0.5706 MB / 446 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.15, allocations: 0 / 446 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1501, allocations: 7.922 kB / 446 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.1502, allocations: 15.86 kB / 446 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.1508, allocations: 75.91 kB / 446.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.151, allocations: 111.7 kB / 446.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1512, allocations: 23.97 kB / 446.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1513, allocations: 39.84 kB / 446.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1514, allocations: 31.78 kB / 446.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1514, allocations: 4 kB / 446.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.1515, allocations: 8 kB / 446.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1515, allocations: 19.91 kB / 446.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.002e-05/0.1516, allocations: 61.44 kB / 446.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1517, allocations: 55.88 kB / 446.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1517, allocations: 0 / 446.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1518, allocations: 4 kB / 446.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1518, allocations: 0 / 446.5 MB, free: 2.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007942/0.1526, allocations: 403.2 kB / 446.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.1526, allocations: 12.03 kB / 446.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.1527, allocations: 8.844 kB / 446.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1531, allocations: 204 kB / 447.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.1531, allocations: 8.375 kB / 447.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.1532, allocations: 8.375 kB / 447.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1535, allocations: 114 kB / 447.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1535, allocations: 0 / 447.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1535, allocations: 0 / 447.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1536, allocations: 0 / 447.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1537, allocations: 59.97 kB / 447.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.1546, allocations: 404.4 kB / 447.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.155, allocations: 114.5 kB / 447.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.1551, allocations: 44.84 kB / 447.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1551, allocations: 4 kB / 447.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.1555, allocations: 107.3 kB / 447.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.1555, allocations: 0 / 447.9 MB, free: 1.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005194/0.156, allocations: 153.5 kB / 448.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1561, allocations: 59.28 kB / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1562, allocations: 145.8 kB / 448.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1563, allocations: 29.69 kB / 448.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.1563, allocations: 104 kB / 448.4 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1564, allocations: 23.88 kB / 448.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1564, allocations: 17.72 kB / 448.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1565, allocations: 322.8 kB / 448.8 MB, free: 276 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1567, allocations: 39.98 kB / 448.8 MB, free: 236 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1568, allocations: 57.62 kB / 448.8 MB, free: 172 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.157, allocations: 85.61 kB / 448.9 MB, free: 80 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.157, allocations: 0 / 448.9 MB, free: 80 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003539/0.1574, allocations: 125.5 kB / 449.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.1574, allocations: 11.94 kB / 449.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1574, allocations: 0 / 449.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.1575, allocations: 0 / 449.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1576, allocations: 24.02 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.1576, allocations: 8 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1577, allocations: 20.17 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1578, allocations: 4 kB / 449.1 MB, free: 15.88 MB / 334.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,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.1579, allocations: 125.7 kB / 449.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.158, allocations: 19.78 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.158, allocations: 16.72 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.158, allocations: 0 / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.158, allocations: 0 / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1581, allocations: 3.984 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.1588, allocations: 402.4 kB / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1588, allocations: 0 / 449.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1589, allocations: 19.92 kB / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1589, allocations: 0 / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1589, allocations: 0 / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1589, allocations: 0 / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.159, allocations: 0 / 449.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.1595, allocations: 267.2 kB / 450 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.1596, allocations: 88.95 kB / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1596, allocations: 4.031 kB / 450 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.1598, allocations: 23.97 kB / 450.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.1598, allocations: 7.984 kB / 450.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1598, allocations: 16.05 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.1599, allocations: 108 kB / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.16, allocations: 0 / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1602, allocations: 16 kB / 450.2 MB, free: 14.68 MB / 334.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 (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.0001761/0.1604, allocations: 99.17 kB / 450.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.1607, allocations: 95.88 kB / 450.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1608, allocations: 3.938 kB / 450.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1609, allocations: 51.91 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1613, allocations: 20.05 kB / 450.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.1619, allocations: 279.1 kB / 450.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1623, allocations: 0.7041 MB / 451.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.1624, allocations: 15.44 kB / 451.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1624, allocations: 0 / 451.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Templates: time 0.003997/0.1664, allocations: 1.331 MB / 452.8 MB, free: 12.03 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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.Blocks.LimResetIntegratorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegratorCalcHelperMain.o] Error 1