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.001306/0.001305, allocations: 102 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.001709/0.001709, allocations: 175.1 kB / 16.58 MB, free: 6.117 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.005/2.005, allocations: 205.4 MB / 222.7 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0546/0.0546, allocations: 10.74 MB / 281.8 MB, free: 10.63 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.0005554/0.0005554, allocations: 16 kB / 342.3 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 50.01 MB / 392.3 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002172/0.1252, allocations: 1.429 MB / 393.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1263, allocations: 0.5974 MB / 394.3 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.1264, allocations: 3.938 kB / 394.3 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.1265, allocations: 19.86 kB / 394.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.1266, allocations: 23.73 kB / 394.3 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1268, allocations: 71.89 kB / 394.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1271, allocations: 175.4 kB / 394.6 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1272, allocations: 33.66 kB / 394.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1273, allocations: 71.69 kB / 394.7 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1275, allocations: 71.66 kB / 394.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.1275, allocations: 8 kB / 394.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.1275, allocations: 8 kB / 394.8 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.1276, allocations: 27.84 kB / 394.8 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.1276, allocations: 49.64 kB / 394.9 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1278, allocations: 116 kB / 395 MB, free: 3.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1278, allocations: 4 kB / 395 MB, free: 3.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1278, allocations: 3.938 kB / 395 MB, free: 3.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1278, allocations: 4 kB / 395 MB, free: 3.035 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.001074/0.1289, allocations: 0.5637 MB / 395.5 MB, free: 2.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1289, allocations: 8.031 kB / 395.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.129, allocations: 23.77 kB / 395.6 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1294, allocations: 246.5 kB / 395.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/0.1294, allocations: 67.34 kB / 395.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1295, allocations: 15.94 kB / 395.9 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.13, allocations: 216.6 kB / 396.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.13, allocations: 0 / 396.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.13, allocations: 4 kB / 396.1 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.13, allocations: 7.953 kB / 396.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.1306, allocations: 191.8 kB / 396.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.1315, allocations: 0.6605 MB / 397 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.1321, allocations: 190.4 kB / 397.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1324, allocations: 100.8 kB / 397.2 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1324, allocations: 4 kB / 397.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.1329, allocations: 175.4 kB / 397.4 MB, free: 388 kB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.1329, allocations: 0 / 397.4 MB, free: 388 kB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009342/0.1338, allocations: 349.3 kB / 397.8 MB, free: 32 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1339, allocations: 59.39 kB / 397.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1341, allocations: 203.7 kB / 398 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1341, allocations: 29.69 kB / 398.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1342, allocations: 136.2 kB / 398.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1343, allocations: 39.53 kB / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.1343, allocations: 0 / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1344, allocations: 342.7 kB / 398.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1347, allocations: 103.9 kB / 398.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1351, allocations: 157.9 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.1355, allocations: 163.3 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1355, allocations: 8 kB / 399 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001072/0.1365, allocations: 372.4 kB / 399.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-05/0.1366, allocations: 63.59 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.1367, allocations: 12 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1367, allocations: 0 / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.1372, allocations: 67.94 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.1372, allocations: 3.938 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003625/0.1376, allocations: 63.73 kB / 399.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.1377, allocations: 12 kB / 399.6 MB, free: 14.12 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,$whenCondition3,$whenCondition1,$PRE.Input.T_start,Input.T_start,$PRE.Input.count,Input.count,Itr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.1378, allocations: 133.8 kB / 399.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.1379, allocations: 15.81 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.138, allocations: 25.52 kB / 399.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.138, allocations: 0 / 399.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.138, allocations: 0 / 399.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.138, allocations: 3.938 kB / 399.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.1384, allocations: 249.5 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.1384, allocations: 3.953 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.1388, allocations: 67.88 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1388, allocations: 0 / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1389, allocations: 0 / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1389, allocations: 0 / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1389, allocations: 4 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.14, allocations: 400.6 kB / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.14, allocations: 100.8 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.1401, allocations: 0 / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.1403, allocations: 43.95 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.1404, allocations: 27.95 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1404, allocations: 12.05 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1406, allocations: 145.5 kB / 400.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1406, allocations: 0 / 400.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1408, allocations: 36 kB / 400.8 MB, free: 12.79 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 (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.0001393/0.141, allocations: 95.25 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.1417, allocations: 358.8 kB / 401.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.1418, allocations: 0 / 401.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.1421, allocations: 112 kB / 401.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1424, allocations: 27.77 kB / 401.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.1432, allocations: 396.3 kB / 401.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1435, allocations: 0.7205 MB / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.1436, allocations: 15.44 kB / 402.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1436, allocations: 4 kB / 402.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Templates: time 0.00484/0.1484, allocations: 2.416 MB / 404.9 MB, free: 8.574 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++ 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.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