Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006023/0.006023, allocations: 100.2 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.001154/0.001155, allocations: 195.4 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05684/0.05684, allocations: 10.74 MB / 280.7 MB, free: 10.71 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.001265/0.001266, allocations: 59.92 kB / 340.5 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 49.03 MB / 389.5 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003147/0.1097, allocations: 1.779 MB / 391.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1108, allocations: 0.5892 MB / 391.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.1109, allocations: 11.94 kB / 391.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.111, allocations: 7.922 kB / 391.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.1111, allocations: 23.73 kB / 391.9 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.1113, allocations: 59.92 kB / 392 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1115, allocations: 167.5 kB / 392.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1116, allocations: 33.53 kB / 392.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1118, allocations: 63.7 kB / 392.3 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.1119, allocations: 71.62 kB / 392.3 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.1119, allocations: 8 kB / 392.3 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.635e-05/0.112, allocations: 8 kB / 392.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.112, allocations: 31.89 kB / 392.4 MB, free: 3.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.1121, allocations: 63.59 kB / 392.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1123, allocations: 88.06 kB / 392.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1123, allocations: 4 kB / 392.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1123, allocations: 0 / 392.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1123, allocations: 0 / 392.5 MB, free: 3.672 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009952/0.1133, allocations: 0.4998 MB / 393 MB, free: 3.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1134, allocations: 12.03 kB / 393 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.1134, allocations: 16.75 kB / 393.1 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1137, allocations: 251.7 kB / 393.3 MB, free: 2.809 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.1138, allocations: 63.97 kB / 393.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1138, allocations: 4.375 kB / 393.4 MB, free: 2.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1143, allocations: 133.7 kB / 393.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1143, allocations: 7.984 kB / 393.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1143, allocations: 11.94 kB / 393.5 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1143, allocations: 0 / 393.5 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.1148, allocations: 127.8 kB / 393.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.1156, allocations: 424.5 kB / 394.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.1161, allocations: 126.4 kB / 394.2 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1163, allocations: 68.73 kB / 394.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1163, allocations: 0 / 394.2 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.1168, allocations: 135.2 kB / 394.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 3.878e-06/0.1168, allocations: 0 / 394.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008427/0.1176, allocations: 229.3 kB / 394.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1177, allocations: 63.34 kB / 394.7 MB, free: 1.332 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1179, allocations: 190.8 kB / 394.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1179, allocations: 25.7 kB / 394.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.118, allocations: 120.2 kB / 395 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.118, allocations: 27.8 kB / 395 MB, free: 0.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1181, allocations: 37.7 kB / 395.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1182, allocations: 322.8 kB / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1185, allocations: 63.94 kB / 395.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1188, allocations: 91.38 kB / 395.5 MB, free: 436 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1193, allocations: 177 kB / 395.7 MB, free: 240 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1193, allocations: 0 / 395.7 MB, free: 240 kB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005961/0.1199, allocations: 227 kB / 395.9 MB, free: 0 / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.1199, allocations: 41.69 kB / 396 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.12, allocations: 3.938 kB / 396 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.12, allocations: 0 / 396 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.1202, allocations: 31.91 kB / 396 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1202, allocations: 0 / 396 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.1204, allocations: 32 kB / 396 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1204, allocations: 8 kB / 396 MB, free: 15.88 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,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001185/0.1205, allocations: 125.8 kB / 396.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.1206, allocations: 19.75 kB / 396.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1206, allocations: 17.34 kB / 396.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1206, allocations: 384 / 396.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1206, allocations: 0 / 396.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1206, allocations: 4 kB / 396.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1209, allocations: 229.5 kB / 396.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1209, allocations: 3.938 kB / 396.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.121, allocations: 23.97 kB / 396.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.121, allocations: 0 / 396.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1211, allocations: 7.938 kB / 396.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1211, allocations: 7.984 kB / 396.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1211, allocations: 4 kB / 396.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.1216, allocations: 196.9 kB / 396.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.1217, allocations: 88.92 kB / 396.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1217, allocations: 7.922 kB / 396.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.1219, allocations: 23.97 kB / 396.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.122, allocations: 27.91 kB / 396.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.122, allocations: 4 kB / 396.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.1221, allocations: 132.1 kB / 396.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1221, allocations: 0 / 396.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1224, allocations: 27.94 kB / 397 MB, free: 14.85 MB / 302.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: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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.0001173/0.1225, allocations: 107.2 kB / 397.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.1231, allocations: 203.2 kB / 397.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1231, allocations: 0 / 397.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.1234, allocations: 71.94 kB / 397.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1237, allocations: 25.3 kB / 397.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.1244, allocations: 339.1 kB / 397.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1247, allocations: 0.7084 MB / 398.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.1248, allocations: 19.38 kB / 398.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1248, allocations: 0 / 398.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Templates: time 0.003864/0.1287, allocations: 1.908 MB / 400.3 MB, free: 11.41 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingPCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingPCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingPCalcHelperMain.o] Error 1