Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007635/0.0007636, allocations: 92.69 kB / 16.33 MB, free: 6.398 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.0007607/0.0007607, allocations: 187.5 kB / 17.22 MB, free: 6.289 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.281/1.281, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.1864/0.1864, allocations: 43.55 MB / 315.2 MB, free: 0.543 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.0004799/0.0004799, allocations: 15.03 kB / 384.5 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08811, allocations: 58.87 MB / 443.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.003109/0.09126, allocations: 3.714 MB / 447.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.09373, allocations: 1.532 MB / 448.6 MB, free: 496 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.09451, allocations: 35.81 kB / 448.7 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.09487, allocations: 106.9 kB / 448.8 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.09532, allocations: 130.8 kB / 448.9 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.09643, allocations: 438.8 kB / 449.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.09757, allocations: 0.8983 MB / 450.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004454/0.09803, allocations: 306.5 kB / 450.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.09832, allocations: 258.4 kB / 450.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.0986, allocations: 294 kB / 451.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.09867, allocations: 24 kB / 451.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.159e-05/0.09873, allocations: 20 kB / 451.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.09882, allocations: 115.3 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.09894, allocations: 165.1 kB / 451.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000526/0.09947, allocations: 0.7092 MB / 452.1 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09948, allocations: 0 / 452.1 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09949, allocations: 0 / 452.1 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.0995, allocations: 0 / 452.1 MB, free: 13 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001507/0.101, allocations: 1.168 MB / 453.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1011, allocations: 8.031 kB / 453.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1012, allocations: 114.6 kB / 453.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007424/0.1019, allocations: 0.6196 MB / 454 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.102, allocations: 45.31 kB / 454.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.1021, allocations: 64 kB / 454.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1032, allocations: 0.7662 MB / 454.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1032, allocations: 3.938 kB / 454.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.1033, allocations: 28 kB / 454.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.1033, allocations: 16 kB / 454.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1043, allocations: 0.5891 MB / 455.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.1073, allocations: 2.745 MB / 458.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.1086, allocations: 0.7334 MB / 459 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.1091, allocations: 307.2 kB / 459.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.1091, allocations: 4 kB / 459.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1092, allocations: 46.5 kB / 459.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.703e-06/0.1092, allocations: 0 / 459.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001702/0.1109, allocations: 0.8671 MB / 460.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.111, allocations: 247.3 kB / 460.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.1118, allocations: 0.7048 MB / 461.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.1118, allocations: 37.7 kB / 461.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.1122, allocations: 444.3 kB / 461.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.1124, allocations: 185.3 kB / 461.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1124, allocations: 12 kB / 461.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1125, allocations: 326 kB / 462.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.113, allocations: 249 kB / 462.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.1136, allocations: 386.1 kB / 462.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.1141, allocations: 275.2 kB / 463 MB, free: 1.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1142, allocations: 0 / 463 MB, free: 1.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002331/0.1165, allocations: 1.158 MB / 464.2 MB, free: 460 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-05/0.1166, allocations: 183.6 kB / 464.4 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1166, allocations: 4 kB / 464.4 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.1177, allocations: 367.2 kB / 464.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.1182, allocations: 127.9 kB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007343/0.1256, allocations: 7.072 MB / 471.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.1259, allocations: 95.34 kB / 472 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.126, allocations: 24.06 kB / 472 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.126, allocations: 4 kB / 472.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.1272, allocations: 0.6707 MB / 472.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1272, allocations: 4 kB / 472.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.1276, allocations: 141.9 kB / 472.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.1283, allocations: 183.9 kB / 473 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.1311, allocations: 3.261 MB / 476.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.1315, allocations: 75.58 kB / 476.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.1315, allocations: 20 kB / 476.4 MB, free: 3.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.1318, allocations: 285 kB / 476.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.132, allocations: 94.86 kB / 476.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.1321, allocations: 95.39 kB / 476.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1321, allocations: 8 kB / 476.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1321, allocations: 0 / 476.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1322, allocations: 3.984 kB / 476.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.133, allocations: 0.7544 MB / 477.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.133, allocations: 0 / 477.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.1336, allocations: 123.8 kB / 477.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1336, allocations: 4 kB / 477.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1336, allocations: 16 kB / 477.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1336, allocations: 4 kB / 477.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1336, allocations: 0 / 477.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.1353, allocations: 1.283 MB / 479.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.1355, allocations: 215.7 kB / 479.3 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.1356, allocations: 12 kB / 479.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.136, allocations: 55.97 kB / 479.3 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.1361, allocations: 31.95 kB / 479.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.1361, allocations: 15.98 kB / 479.4 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004966/0.1366, allocations: 487 kB / 479.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 4 kB / 479.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008106/0.1374, allocations: 279 kB / 480.1 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0001251/0.1376, allocations: 115.1 kB / 480.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.1409, allocations: 2.016 MB / 482.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1409, allocations: 0 / 482.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.1414, allocations: 299.7 kB / 482.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.1425, allocations: 230.4 kB / 482.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.145, allocations: 1.816 MB / 484.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.1455, allocations: 0.9888 MB / 485.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1457, allocations: 47.44 kB / 485.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1457, allocations: 3.938 kB / 485.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of Templates: time 0.01666/0.1624, allocations: 17.33 MB / 0.4912 GB, free: 8.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimPIDCalcHelperMain.o] Error 1