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.001268/0.001268, allocations: 102.7 kB / 15.71 MB, free: 460 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.001981/0.001982, allocations: 177.6 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0532/0.0532, allocations: 10.74 MB / 281.8 MB, free: 10.56 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.000551/0.000551, allocations: 15.98 kB / 342.3 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 50.01 MB / 392.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002061/0.1266, allocations: 1.405 MB / 393.7 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1276, allocations: 0.5584 MB / 394.2 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1277, allocations: 7.938 kB / 394.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1279, allocations: 7.875 kB / 394.3 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.128, allocations: 27.78 kB / 394.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1282, allocations: 47.94 kB / 394.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1285, allocations: 159.5 kB / 394.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1286, allocations: 25.53 kB / 394.5 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.1288, allocations: 63.7 kB / 394.6 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1289, allocations: 59.69 kB / 394.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.1289, allocations: 8 kB / 394.6 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.172e-05/0.1289, allocations: 4 kB / 394.6 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1291, allocations: 31.83 kB / 394.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.1292, allocations: 49.64 kB / 394.7 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1293, allocations: 88.05 kB / 394.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1293, allocations: 0 / 394.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1293, allocations: 0 / 394.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1293, allocations: 0 / 394.8 MB, free: 3.215 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.001046/0.1304, allocations: 0.4964 MB / 395.3 MB, free: 2.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1304, allocations: 16.03 kB / 395.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.1305, allocations: 19.77 kB / 395.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1309, allocations: 234.6 kB / 395.6 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.131, allocations: 67.39 kB / 395.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.131, allocations: 12 kB / 395.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1314, allocations: 145.5 kB / 395.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1314, allocations: 0 / 395.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1314, allocations: 0 / 395.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1314, allocations: 4 kB / 395.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.1319, allocations: 155.8 kB / 395.9 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007896/0.1327, allocations: 448.4 kB / 396.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.1332, allocations: 150.5 kB / 396.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.1334, allocations: 84.8 kB / 396.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1334, allocations: 160 / 396.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.1338, allocations: 139.3 kB / 396.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1338, allocations: 0 / 396.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008732/0.1347, allocations: 277.5 kB / 397 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1348, allocations: 59.41 kB / 397.1 MB, free: 0.7383 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.0003046/0.1351, allocations: 190.8 kB / 397.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1351, allocations: 25.8 kB / 397.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1352, allocations: 128.1 kB / 397.4 MB, free: 392 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1352, allocations: 27.66 kB / 397.4 MB, free: 364 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/0.1353, allocations: 4 kB / 397.4 MB, free: 360 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.1355, allocations: 326.8 kB / 397.8 MB, free: 24 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1358, allocations: 79.94 kB / 397.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.136, allocations: 103.4 kB / 397.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.1362, allocations: 101.6 kB / 398 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1363, allocations: 0 / 398 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005594/0.1368, allocations: 263 kB / 398.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.1369, allocations: 41.69 kB / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1369, allocations: 0 / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1369, allocations: 3.938 kB / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1371, allocations: 36.03 kB / 398.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1372, allocations: 4 kB / 398.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1373, allocations: 43.81 kB / 398.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1374, allocations: 7.984 kB / 398.4 MB, free: 15.32 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,$whenCondition2,Ptr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1375, allocations: 129.8 kB / 398.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1375, allocations: 19.77 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.1376, allocations: 17.39 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1376, allocations: 4 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1376, allocations: 0 / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1376, allocations: 3.984 kB / 398.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1378, allocations: 217.6 kB / 398.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1378, allocations: 0 / 398.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.138, allocations: 35.97 kB / 398.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.138, allocations: 3.953 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.138, allocations: 7.984 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.138, allocations: 0 / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.138, allocations: 0 / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.1386, allocations: 224.8 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1386, allocations: 93 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1387, allocations: 11.95 kB / 399.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1388, allocations: 27.97 kB / 399.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.1389, allocations: 19.97 kB / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1389, allocations: 12.08 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1391, allocations: 132 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1391, allocations: 3.938 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1393, allocations: 35.84 kB / 399.4 MB, free: 14.24 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 (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.0001102/0.1394, allocations: 99.19 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.14, allocations: 235.2 kB / 399.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.14, allocations: 192 / 399.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1403, allocations: 91.88 kB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1405, allocations: 20.17 kB / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.1412, allocations: 327.2 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1416, allocations: 0.7123 MB / 400.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.1417, allocations: 15.44 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1417, allocations: 0 / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Templates: time 0.004269/0.1459, allocations: 1.894 MB / 402.8 MB, free: 10.79 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++ 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 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