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.001553/0.001553, allocations: 106 kB / 16.52 MB, free: 6.664 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.001543/0.001544, allocations: 199.7 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.3335/0.3335, allocations: 43.51 MB / 314.1 MB, free: 0.7617 MB / 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.001697/0.001698, allocations: 74.2 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2112, allocations: 57.78 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003899/0.2152, allocations: 1.683 MB / 442.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2164, allocations: 0.582 MB / 442.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2165, allocations: 7.938 kB / 442.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.2167, allocations: 7.938 kB / 442.7 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.2168, allocations: 7.922 kB / 442.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.2173, allocations: 87.78 kB / 442.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.2175, allocations: 107.7 kB / 442.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.2177, allocations: 31.91 kB / 443 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.2178, allocations: 39.84 kB / 443 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2179, allocations: 35.84 kB / 443 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2179, allocations: 8 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.035e-05/0.2179, allocations: 8 kB / 443.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.218, allocations: 15.92 kB / 443.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.2181, allocations: 43.72 kB / 443.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2182, allocations: 55.84 kB / 443.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2182, allocations: 4 kB / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2182, allocations: 0 / 443.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2182, allocations: 0 / 443.2 MB, free: 4.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.000861/0.2191, allocations: 419 kB / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.2192, allocations: 8.031 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.2192, allocations: 16.84 kB / 443.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.2195, allocations: 192.2 kB / 443.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2195, allocations: 8.375 kB / 443.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.2196, allocations: 4.375 kB / 443.8 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.2199, allocations: 105.9 kB / 443.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2199, allocations: 4 kB / 443.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.2199, allocations: 7.984 kB / 443.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2199, allocations: 3.984 kB / 443.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2201, allocations: 55.91 kB / 444 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.2209, allocations: 388.4 kB / 444.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2213, allocations: 102.5 kB / 444.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2214, allocations: 36.88 kB / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2214, allocations: 0 / 444.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.2218, allocations: 103.3 kB / 444.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2218, allocations: 0 / 444.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004948/0.2223, allocations: 141.4 kB / 444.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.2223, allocations: 59.34 kB / 444.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2225, allocations: 149.8 kB / 444.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2225, allocations: 29.7 kB / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.2226, allocations: 100.1 kB / 445.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.2226, allocations: 19.78 kB / 445.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.2227, allocations: 25.72 kB / 445.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2228, allocations: 322.8 kB / 445.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.223, allocations: 39.97 kB / 445.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2231, allocations: 53.62 kB / 445.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.2233, allocations: 77.62 kB / 445.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2233, allocations: 0 / 445.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002727/0.2236, allocations: 121.5 kB / 445.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2236, allocations: 12.16 kB / 445.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2237, allocations: 4 kB / 445.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2237, allocations: 4.031 kB / 445.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2238, allocations: 19.92 kB / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.2238, allocations: 0 / 445.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.2239, allocations: 11.98 kB / 445.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2239, allocations: 4 kB / 445.8 MB, free: 1.953 MB / 318.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.0001191/0.2241, allocations: 121.8 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.2241, allocations: 15.75 kB / 445.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.2241, allocations: 16.72 kB / 445.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2241, allocations: 3.984 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2242, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2242, allocations: 4 kB / 445.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.2247, allocations: 382.4 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2247, allocations: 8 kB / 446.3 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.2248, allocations: 11.98 kB / 446.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2248, allocations: 0 / 446.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2248, allocations: 4 kB / 446.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2248, allocations: 0 / 446.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2249, allocations: 0 / 446.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.2253, allocations: 259.2 kB / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.2254, allocations: 92.97 kB / 446.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2254, allocations: 0 / 446.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2256, allocations: 19.98 kB / 446.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.2257, allocations: 20.03 kB / 446.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2257, allocations: 4 kB / 446.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.2258, allocations: 112 kB / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2258, allocations: 0 / 446.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.226, allocations: 16 kB / 446.8 MB, free: 0.7812 MB / 318.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.0001336/0.2261, allocations: 95.23 kB / 446.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2265, allocations: 92.3 kB / 447 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2265, allocations: 3.906 kB / 447 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2266, allocations: 47.84 kB / 447.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.227, allocations: 19.98 kB / 447.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.2277, allocations: 267.1 kB / 447.4 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.2282, allocations: 0.7081 MB / 448.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.2283, allocations: 11.44 kB / 448.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2283, allocations: 0 / 448.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Templates: time 0.004292/0.2326, allocations: 1.34 MB / 449.4 MB, free: 14.15 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