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.00112/0.00112, allocations: 100.5 kB / 15.71 MB, free: 452 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.001649/0.001649, allocations: 178.9 kB / 16.58 MB, free: 6.422 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.057/2.057, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05406/0.05406, allocations: 10.75 MB / 281.8 MB, free: 10.55 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.0005115/0.0005116, allocations: 16 kB / 342.3 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1178, allocations: 50.01 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002332/0.1201, allocations: 1.479 MB / 393.8 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1213, allocations: 0.6091 MB / 394.4 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1214, allocations: 11.88 kB / 394.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.1216, allocations: 15.8 kB / 394.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.1217, allocations: 35.66 kB / 394.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.122, allocations: 75.89 kB / 394.5 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1222, allocations: 203.4 kB / 394.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1224, allocations: 40.81 kB / 394.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1225, allocations: 79.62 kB / 394.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1227, allocations: 75.59 kB / 394.9 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.1227, allocations: 8 kB / 394.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.1228, allocations: 8 kB / 394.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1228, allocations: 35.84 kB / 394.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.1229, allocations: 53.58 kB / 395 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1231, allocations: 124 kB / 395.1 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1231, allocations: 4 kB / 395.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1231, allocations: 0 / 395.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1231, allocations: 0 / 395.1 MB, free: 2.91 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.001114/0.1242, allocations: 0.5544 MB / 395.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1243, allocations: 8.031 kB / 395.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.1244, allocations: 27.7 kB / 395.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1247, allocations: 274.2 kB / 396 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.1249, allocations: 97.11 kB / 396.1 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.1249, allocations: 16 kB / 396.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1254, allocations: 189.5 kB / 396.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1254, allocations: 7.938 kB / 396.3 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1254, allocations: 7.953 kB / 396.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1255, allocations: 8 kB / 396.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.126, allocations: 175.8 kB / 396.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1271, allocations: 0.586 MB / 397.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.1277, allocations: 170.4 kB / 397.2 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1279, allocations: 96.75 kB / 397.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.128, allocations: 0 / 397.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/0.1285, allocations: 159.2 kB / 397.5 MB, free: 376 kB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.1285, allocations: 4 kB / 397.5 MB, free: 372 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009769/0.1295, allocations: 321.3 kB / 397.8 MB, free: 44 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.1296, allocations: 55.41 kB / 397.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.1298, allocations: 207.1 kB / 398 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.1299, allocations: 29.7 kB / 398.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.13, allocations: 144.2 kB / 398.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.13, allocations: 35.5 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.1301, allocations: 12 kB / 398.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1303, allocations: 330.8 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.1305, allocations: 87.88 kB / 398.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.1308, allocations: 135.2 kB / 398.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.1311, allocations: 120.8 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1311, allocations: 7.938 kB / 398.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006937/0.1318, allocations: 291 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.1319, allocations: 37.7 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1319, allocations: 0 / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.132, allocations: 3.984 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.1326, allocations: 80.02 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1326, allocations: 3.938 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1328, allocations: 43.86 kB / 399.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1329, allocations: 8 kB / 399.4 MB, free: 14.37 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,FOaw.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.133, allocations: 145.5 kB / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1331, allocations: 15.81 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.1331, allocations: 21.39 kB / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1331, allocations: 0 / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.1332, allocations: 0 / 399.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1332, allocations: 3.938 kB / 399.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.1335, allocations: 273.5 kB / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1335, allocations: 0 / 399.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.1342, allocations: 83.88 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1342, allocations: 0 / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1342, allocations: 3.984 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1342, allocations: 0 / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1342, allocations: 4 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.1351, allocations: 360.5 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1351, allocations: 88.92 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1352, allocations: 4 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1354, allocations: 36 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.1355, allocations: 23.97 kB / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1355, allocations: 8 kB / 400.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1356, allocations: 144.6 kB / 400.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1356, allocations: 0 / 400.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1359, allocations: 43.78 kB / 400.6 MB, free: 13.04 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 (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.0001354/0.136, allocations: 103.2 kB / 400.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.1367, allocations: 259.3 kB / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1367, allocations: 0 / 401 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.137, allocations: 99.88 kB / 401.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1373, allocations: 32.61 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.1382, allocations: 455 kB / 401.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.1387, allocations: 0.7361 MB / 402.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.1388, allocations: 15.44 kB / 402.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1388, allocations: 0 / 402.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Templates: time 0.004836/0.1436, allocations: 2.416 MB / 404.7 MB, free: 8.867 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++ 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.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