Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 96.14 kB / 15.87 MB, free: 16 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.001604/0.001604, allocations: 194.2 kB / 16.79 MB, free: 6.812 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.74/1.74, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05639/0.05639, allocations: 10.74 MB / 280.7 MB, free: 10.76 MB / 238.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.001501/0.001501, allocations: 68.41 kB / 340.5 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1104, allocations: 49.02 MB / 389.5 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00387/0.1143, allocations: 1.818 MB / 391.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1157, allocations: 0.6283 MB / 392 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.1158, allocations: 7.938 kB / 392 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.116, allocations: 11.86 kB / 392 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1161, allocations: 27.73 kB / 392 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1165, allocations: 79.91 kB / 392.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.1168, allocations: 191.4 kB / 392.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1169, allocations: 37.84 kB / 392.3 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1171, allocations: 79.69 kB / 392.4 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1172, allocations: 83.58 kB / 392.5 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.1173, allocations: 8 kB / 392.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.1173, allocations: 12 kB / 392.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1174, allocations: 27.84 kB / 392.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1175, allocations: 79.47 kB / 392.6 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1176, allocations: 115.7 kB / 392.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1176, allocations: 0 / 392.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1176, allocations: 0 / 392.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1177, allocations: 0 / 392.7 MB, free: 3.512 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001222/0.1189, allocations: 0.5757 MB / 393.3 MB, free: 2.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1189, allocations: 12.02 kB / 393.3 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.119, allocations: 24.66 kB / 393.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1194, allocations: 251.7 kB / 393.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.1195, allocations: 63.97 kB / 393.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1195, allocations: 16.38 kB / 393.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.1201, allocations: 196.8 kB / 393.8 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1201, allocations: 3.984 kB / 393.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1201, allocations: 4 kB / 393.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1201, allocations: 4 kB / 393.9 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.1207, allocations: 147.8 kB / 394 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1219, allocations: 0.6411 MB / 394.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.1225, allocations: 166.4 kB / 394.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.1228, allocations: 76.78 kB / 394.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1228, allocations: 4 kB / 394.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.1233, allocations: 163.1 kB / 395 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.1233, allocations: 192 / 395 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00129/0.1246, allocations: 305.2 kB / 395.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.1247, allocations: 55.41 kB / 395.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.125, allocations: 195.8 kB / 395.6 MB, free: 420 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.125, allocations: 33.7 kB / 395.6 MB, free: 380 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1252, allocations: 144.1 kB / 395.8 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.1252, allocations: 35.53 kB / 395.8 MB, free: 192 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1254, allocations: 45.7 kB / 395.8 MB, free: 140 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.1256, allocations: 330.8 kB / 396.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.126, allocations: 91.84 kB / 396.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.1263, allocations: 149.8 kB / 396.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.127, allocations: 261.2 kB / 396.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.127, allocations: 4 kB / 396.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008107/0.1278, allocations: 344.5 kB / 397 MB, free: 14.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.1279, allocations: 62.52 kB / 397.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1279, allocations: 8.188 kB / 397.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1279, allocations: 4 kB / 397.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.1284, allocations: 63.83 kB / 397.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1284, allocations: 4 kB / 397.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1286, allocations: 43.8 kB / 397.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1287, allocations: 8 kB / 397.2 MB, free: 14.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001214/0.1288, allocations: 137.8 kB / 397.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1288, allocations: 23.73 kB / 397.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.1289, allocations: 17.53 kB / 397.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1289, allocations: 4 kB / 397.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1289, allocations: 0 / 397.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1289, allocations: 0 / 397.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1291, allocations: 241.5 kB / 397.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1292, allocations: 4 kB / 397.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1296, allocations: 59.83 kB / 397.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1296, allocations: 0 / 397.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1296, allocations: 4 kB / 397.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1296, allocations: 0 / 397.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1296, allocations: 3.984 kB / 397.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009719/0.1306, allocations: 348.5 kB / 398 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.1306, allocations: 92.89 kB / 398.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1307, allocations: 4 kB / 398.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1309, allocations: 32.02 kB / 398.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.131, allocations: 31.95 kB / 398.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.131, allocations: 7.938 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1312, allocations: 141.5 kB / 398.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1312, allocations: 0 / 398.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1314, allocations: 36 kB / 398.3 MB, free: 13.44 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001226/0.1315, allocations: 111.2 kB / 398.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.1323, allocations: 314.6 kB / 398.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1323, allocations: 0 / 398.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.1326, allocations: 100.2 kB / 398.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1329, allocations: 35.69 kB / 398.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.1337, allocations: 393 kB / 399.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.134, allocations: 0.7244 MB / 400 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.1341, allocations: 23.44 kB / 400 MB, free: 11.67 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1341, allocations: 0 / 400 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Templates: time 0.004101/0.1383, allocations: 2.434 MB / 402.5 MB, free: 9.242 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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 OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingICalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingICalcHelperMain.o] Error 1