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.001532/0.001532, allocations: 98.88 kB / 16.02 MB, free: 76 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.002431/0.002431, allocations: 183.8 kB / 16.92 MB, free: 6.684 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.999/1.999, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05462/0.05462, allocations: 10.74 MB / 282.1 MB, free: 10.46 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.0005525/0.0005526, allocations: 16.22 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 50.01 MB / 392.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002144/0.1283, allocations: 1.436 MB / 394.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1295, allocations: 0.5776 MB / 394.9 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1296, allocations: 7.938 kB / 394.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1297, allocations: 15.86 kB / 394.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.007e-05/0.1298, allocations: 31.72 kB / 395 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1301, allocations: 47.95 kB / 395 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1303, allocations: 175.5 kB / 395.2 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1304, allocations: 25.56 kB / 395.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1306, allocations: 63.7 kB / 395.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1307, allocations: 63.67 kB / 395.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1308, allocations: 11.94 kB / 395.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.1308, allocations: 4 kB / 395.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1308, allocations: 23.91 kB / 395.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.131, allocations: 85.3 kB / 395.5 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1311, allocations: 88.05 kB / 395.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1312, allocations: 0 / 395.5 MB, free: 2.758 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1312, allocations: 4 kB / 395.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1312, allocations: 0 / 395.5 MB, free: 2.754 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.001058/0.1323, allocations: 0.5115 MB / 396.1 MB, free: 2.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.1323, allocations: 12.03 kB / 396.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.1324, allocations: 16.75 kB / 396.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1327, allocations: 235.9 kB / 396.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.1328, allocations: 59.95 kB / 396.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1329, allocations: 12.38 kB / 396.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.1333, allocations: 149.7 kB / 396.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1334, allocations: 3.938 kB / 396.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1334, allocations: 4 kB / 396.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1334, allocations: 0 / 396.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.134, allocations: 155.9 kB / 396.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.1349, allocations: 452.3 kB / 397.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1355, allocations: 146.5 kB / 397.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.1357, allocations: 80.8 kB / 397.4 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1358, allocations: 4 kB / 397.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.1362, allocations: 139.2 kB / 397.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1362, allocations: 0 / 397.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009841/0.1372, allocations: 281.2 kB / 397.8 MB, free: 348 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.1373, allocations: 63.33 kB / 397.8 MB, free: 272 kB / 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.0002289/0.1375, allocations: 190.8 kB / 398 MB, free: 72 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1376, allocations: 29.7 kB / 398 MB, free: 36 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.1377, allocations: 120.5 kB / 398.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1378, allocations: 31.55 kB / 398.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1378, allocations: 21.72 kB / 398.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.138, allocations: 322.8 kB / 398.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.1383, allocations: 79.94 kB / 398.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1386, allocations: 107.4 kB / 398.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.1391, allocations: 201.3 kB / 398.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1391, allocations: 8 kB / 398.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006406/0.1398, allocations: 258.9 kB / 399.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.1398, allocations: 33.7 kB / 399.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1398, allocations: 7.875 kB / 399.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1399, allocations: 4 kB / 399.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1401, allocations: 40.03 kB / 399.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1401, allocations: 0 / 399.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1403, allocations: 43.89 kB / 399.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1403, allocations: 11.98 kB / 399.3 MB, free: 14.7 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.0001125/0.1405, allocations: 125.8 kB / 399.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1405, allocations: 15.81 kB / 399.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.1406, allocations: 25.33 kB / 399.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1406, allocations: 0 / 399.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1406, allocations: 0 / 399.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1406, allocations: 0 / 399.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1408, allocations: 221.6 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1409, allocations: 0 / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.141, allocations: 31.97 kB / 399.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.141, allocations: 4 kB / 399.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.141, allocations: 7.938 kB / 399.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.141, allocations: 0 / 399.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1411, allocations: 0 / 399.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.1416, allocations: 236.8 kB / 400 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1417, allocations: 88.92 kB / 400 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1417, allocations: 3.938 kB / 400.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.1419, allocations: 31.97 kB / 400.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.142, allocations: 19.97 kB / 400.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1421, allocations: 4 kB / 400.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1422, allocations: 136.1 kB / 400.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1422, allocations: 0 / 400.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1424, allocations: 27.94 kB / 400.3 MB, free: 13.65 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.0001319/0.1426, allocations: 103.2 kB / 400.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.1432, allocations: 231.2 kB / 400.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1432, allocations: 4.188 kB / 400.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.1435, allocations: 99.83 kB / 400.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1438, allocations: 23.98 kB / 400.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.1448, allocations: 335.2 kB / 401 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.1453, allocations: 0.7161 MB / 401.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.1455, allocations: 19.44 kB / 401.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1455, allocations: 0 / 401.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Templates: time 0.004637/0.1501, allocations: 1.909 MB / 403.7 MB, free: 10.15 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