Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.SingleTC.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/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/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(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") translateModel(PNlib.Examples.ConTest.SingleTC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SingleTC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 175.9 kB / 16.58 MB, free: 6.422 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.554/1.554, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2265/0.2265, allocations: 16.73 MB / 308.4 MB, free: 15.67 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003961, allocations: 8 kB / 373.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.445, allocations: 54.47 MB / 427.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.SingleTC): time 0.00164/0.4467, allocations: 0.771 MB / 428.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.4476, allocations: 378.6 kB / 429 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4477, allocations: 2.719 kB / 429 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.4479, allocations: 44.23 kB / 429.1 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.4482, allocations: 31.22 kB / 429.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.4484, allocations: 87.41 kB / 429.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.4488, allocations: 254.2 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.4489, allocations: 28.2 kB / 429.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.449, allocations: 118.1 kB / 429.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4492, allocations: 47.25 kB / 429.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.4492, allocations: 0 / 429.6 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.4494, allocations: 57.44 kB / 429.7 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.4494, allocations: 19.22 kB / 429.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.4495, allocations: 35.67 kB / 429.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.4497, allocations: 82.62 kB / 429.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.4497, allocations: 0 / 429.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4497, allocations: 3.656 kB / 429.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4497, allocations: 0 / 429.8 MB, free: 37.3 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.0005947/0.4503, allocations: 410 kB / 430.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4504, allocations: 8.312 kB / 430.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.943e-05/0.4505, allocations: 12.88 kB / 430.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4507, allocations: 201 kB / 430.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.4508, allocations: 4.688 kB / 430.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4508, allocations: 6.562 kB / 430.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.4511, allocations: 110.8 kB / 430.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4511, allocations: 3.938 kB / 430.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4511, allocations: 11.86 kB / 430.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4511, allocations: 2.297 kB / 430.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.4513, allocations: 53.16 kB / 430.6 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.4523, allocations: 0.7417 MB / 431.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.4525, allocations: 49.06 kB / 431.4 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.4526, allocations: 18.02 kB / 431.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4526, allocations: 5.578 kB / 431.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4527, allocations: 32.09 kB / 431.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4527, allocations: 0 / 431.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003224/0.453, allocations: 125.6 kB / 431.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4531, allocations: 79.98 kB / 431.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4532, allocations: 168.7 kB / 431.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4532, allocations: 31.7 kB / 431.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.4533, allocations: 116.4 kB / 432 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4533, allocations: 21.3 kB / 432 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.4534, allocations: 0 / 432 MB, free: 35.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.4534, allocations: 326.6 kB / 432.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.4535, allocations: 20.91 kB / 432.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.4536, allocations: 56.86 kB / 432.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.4536, allocations: 55.86 kB / 432.5 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4536, allocations: 0 / 432.5 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000199/0.4538, allocations: 135.6 kB / 432.6 MB, free: 34.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.4539, allocations: 34.17 kB / 432.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4539, allocations: 4.125 kB / 432.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4539, allocations: 2.969 kB / 432.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.454, allocations: 18.8 kB / 432.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.454, allocations: 0 / 432.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4541, allocations: 13.12 kB / 432.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4541, allocations: 6.469 kB / 432.7 MB, free: 34.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (T1.firingCon,T1.fire,T1.activation.active,T1.activation.NoTokens,T1.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001079/0.4542, allocations: 154.7 kB / 432.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.4542, allocations: 9.812 kB / 432.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.4545, allocations: 160.9 kB / 433 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4545, allocations: 7.266 kB / 433 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4545, allocations: 3.281 kB / 433 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4545, allocations: 0 / 433 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4547, allocations: 194.2 kB / 433.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4547, allocations: 0 / 433.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.4547, allocations: 11.69 kB / 433.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4547, allocations: 3.281 kB / 433.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4547, allocations: 3.375 kB / 433.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4547, allocations: 3.984 kB / 433.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4547, allocations: 0 / 433.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.4549, allocations: 136 kB / 433.3 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.455, allocations: 87.19 kB / 433.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.455, allocations: 2.969 kB / 433.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.455, allocations: 7.312 kB / 433.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4551, allocations: 6.312 kB / 433.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4551, allocations: 3.938 kB / 433.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.319e-05/0.4552, allocations: 129.4 kB / 433.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4552, allocations: 0 / 433.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.4554, allocations: 32.95 kB / 433.6 MB, free: 34.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (T1.fire,T1.activation.active,T1.activation.NoTokens) * Number of discrete states: 2 (T1.activation.active,T1.activation.NoTokens) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001471/0.4556, allocations: 108 kB / 433.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.4557, allocations: 112.4 kB / 433.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4558, allocations: 0 / 433.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.4558, allocations: 72.72 kB / 433.9 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.456, allocations: 13.14 kB / 433.9 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.4565, allocations: 291.2 kB / 434.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4567, allocations: 0.7005 MB / 434.9 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.4568, allocations: 31.2 kB / 434.9 MB, free: 33.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4568, allocations: 4 kB / 434.9 MB, free: 33.01 MB / 350.1 MB Notification: Performance of Templates: time 0.003337/0.4601, allocations: 1.479 MB / 436.4 MB, free: 32.89 MB / 350.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.SingleTC.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.SingleTC.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 OMCppPNlib_PNlib.Examples.ConTest.SingleTCCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.SingleTCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPNlib_PNlib.Examples.ConTest.SingleTCCalcHelperMain.o] Error 1