Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009661/0.009661, allocations: 101 kB / 15.87 MB, free: 5.867 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.001591/0.001591, allocations: 194.3 kB / 16.79 MB, free: 5.809 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.686/1.686, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05622/0.05622, allocations: 10.74 MB / 280.7 MB, free: 10.72 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.001833/0.001833, allocations: 59.92 kB / 340.5 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 49.03 MB / 389.5 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003138/0.1061, allocations: 1.856 MB / 391.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1072, allocations: 0.6477 MB / 392 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1074, allocations: 11.94 kB / 392 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1075, allocations: 15.8 kB / 392.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.1076, allocations: 31.73 kB / 392.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1079, allocations: 87.89 kB / 392.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.1081, allocations: 211.4 kB / 392.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1083, allocations: 52.61 kB / 392.4 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1084, allocations: 91.5 kB / 392.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1086, allocations: 91.53 kB / 392.6 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1086, allocations: 12 kB / 392.6 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.032e-05/0.1086, allocations: 8 kB / 392.6 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1087, allocations: 39.83 kB / 392.7 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.1088, allocations: 83.45 kB / 392.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.109, allocations: 139.9 kB / 392.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.109, allocations: 0 / 392.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.109, allocations: 3.938 kB / 392.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.109, allocations: 0 / 392.9 MB, free: 3.305 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001084/0.1101, allocations: 0.5623 MB / 393.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1101, allocations: 12.03 kB / 393.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.1102, allocations: 28.66 kB / 393.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1106, allocations: 275.5 kB / 393.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.1107, allocations: 97.67 kB / 393.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.1107, allocations: 24.28 kB / 393.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.1112, allocations: 185.6 kB / 394.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1112, allocations: 0 / 394.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1113, allocations: 8 kB / 394.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1113, allocations: 4 kB / 394.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.1118, allocations: 143.9 kB / 394.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1129, allocations: 0.5895 MB / 394.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1134, allocations: 138.5 kB / 394.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1137, allocations: 76.8 kB / 395 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1137, allocations: 0 / 395 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1141, allocations: 151.4 kB / 395.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1142, allocations: 0 / 395.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009168/0.1151, allocations: 269.2 kB / 395.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.1151, allocations: 55.41 kB / 395.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1154, allocations: 211.1 kB / 395.7 MB, free: 300 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1154, allocations: 29.7 kB / 395.7 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1155, allocations: 140.3 kB / 395.9 MB, free: 116 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1156, allocations: 39.45 kB / 395.9 MB, free: 76 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.1157, allocations: 41.7 kB / 395.9 MB, free: 28 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1158, allocations: 330.8 kB / 396.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.1161, allocations: 75.92 kB / 396.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.1164, allocations: 119.3 kB / 396.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.1169, allocations: 195.8 kB / 396.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1169, allocations: 0 / 396.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006428/0.1175, allocations: 278.9 kB / 396.9 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.1176, allocations: 29.7 kB / 396.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1176, allocations: 4 kB / 396.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1176, allocations: 0 / 396.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.1183, allocations: 71.94 kB / 397 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1183, allocations: 7.938 kB / 397 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1186, allocations: 39.81 kB / 397.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1186, allocations: 8 kB / 397.1 MB, free: 14.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001183/0.1187, allocations: 133.7 kB / 397.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1188, allocations: 15.81 kB / 397.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1188, allocations: 21.39 kB / 397.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1188, allocations: 0 / 397.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1188, allocations: 0 / 397.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1188, allocations: 4 kB / 397.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.1191, allocations: 281.3 kB / 397.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1192, allocations: 0 / 397.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.1199, allocations: 71.88 kB / 397.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1199, allocations: 0 / 397.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.12, allocations: 4 kB / 397.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.12, allocations: 8 kB / 397.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.12, allocations: 0 / 397.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.1208, allocations: 313.1 kB / 397.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1209, allocations: 100.9 kB / 398 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1209, allocations: 0 / 398 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1211, allocations: 23.97 kB / 398 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.1212, allocations: 19.97 kB / 398 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1212, allocations: 4 kB / 398 MB, free: 13.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1213, allocations: 152.6 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1213, allocations: 0 / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1216, allocations: 39.94 kB / 398.2 MB, free: 13.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001204/0.1217, allocations: 103.4 kB / 398.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.1223, allocations: 235.1 kB / 398.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1223, allocations: 192 / 398.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.1226, allocations: 91.81 kB / 398.7 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.1229, allocations: 29.72 kB / 398.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.1238, allocations: 472.9 kB / 399.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1241, allocations: 0.7322 MB / 399.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.1242, allocations: 19.42 kB / 399.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1242, allocations: 4 kB / 399.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Templates: time 0.004102/0.1283, allocations: 2.424 MB / 402.3 MB, free: 9.41 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFOCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFOCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFOCalcHelperMain.o] Error 1