Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 97.31 kB / 15.7 MB, free: 456 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.001769/0.001769, allocations: 173.2 kB / 16.58 MB, free: 6.41 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.052/2.052, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05874/0.05874, allocations: 10.74 MB / 281.8 MB, free: 10.79 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.0005897/0.0005897, allocations: 12 kB / 342.3 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.119, allocations: 50 MB / 392.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001892/0.1209, allocations: 1.323 MB / 393.6 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.1216, allocations: 295.2 kB / 393.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.1217, allocations: 0 / 393.9 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.1217, allocations: 7.875 kB / 393.9 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1218, allocations: 19.86 kB / 393.9 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1222, allocations: 71.84 kB / 394 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1224, allocations: 115.7 kB / 394.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1225, allocations: 17.55 kB / 394.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.1226, allocations: 47.77 kB / 394.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1227, allocations: 55.69 kB / 394.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1227, allocations: 4 kB / 394.2 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.1228, allocations: 35.97 kB / 394.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.1228, allocations: 27.86 kB / 394.3 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.1229, allocations: 45.64 kB / 394.3 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1231, allocations: 95.8 kB / 394.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1231, allocations: 0 / 394.4 MB, free: 3.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1231, allocations: 4 kB / 394.4 MB, free: 3.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1231, allocations: 0 / 394.4 MB, free: 3.637 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006837/0.1238, allocations: 426.4 kB / 394.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1238, allocations: 16.02 kB / 394.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.1239, allocations: 23.77 kB / 394.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1242, allocations: 218.8 kB / 395.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1242, allocations: 8 kB / 395.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1243, allocations: 8 kB / 395.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1245, allocations: 137.9 kB / 395.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1246, allocations: 7.938 kB / 395.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1246, allocations: 4 kB / 395.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1246, allocations: 0 / 395.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1248, allocations: 55.97 kB / 395.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.1255, allocations: 424.4 kB / 395.7 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1258, allocations: 106.6 kB / 395.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1259, allocations: 68.83 kB / 395.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1259, allocations: 4 kB / 395.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.1262, allocations: 115.2 kB / 396 MB, free: 1.867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1262, allocations: 0 / 396 MB, free: 1.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004612/0.1267, allocations: 209.4 kB / 396.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1268, allocations: 166.2 kB / 396.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.127, allocations: 186.1 kB / 396.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.127, allocations: 33.7 kB / 396.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.1271, allocations: 112 kB / 396.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1272, allocations: 47.52 kB / 396.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.1272, allocations: 4 kB / 396.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1274, allocations: 334.8 kB / 397.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.1275, allocations: 36.36 kB / 397.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1276, allocations: 110.2 kB / 397.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1277, allocations: 55.98 kB / 397.3 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1278, allocations: 3.938 kB / 397.3 MB, free: 500 kB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002858/0.128, allocations: 177.1 kB / 397.4 MB, free: 320 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1281, allocations: 4 kB / 397.4 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1281, allocations: 7.953 kB / 397.4 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1281, allocations: 0 / 397.4 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1283, allocations: 39.92 kB / 397.5 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1283, allocations: 0 / 397.5 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1284, allocations: 15.92 kB / 397.5 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1285, allocations: 15.94 kB / 397.5 MB, free: 236 kB / 286.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001382/0.1286, allocations: 132.7 kB / 397.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1286, allocations: 15.81 kB / 397.7 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1287, allocations: 21.52 kB / 397.7 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1287, allocations: 8 kB / 397.7 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1287, allocations: 3.984 kB / 397.7 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1287, allocations: 0 / 397.7 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.1293, allocations: 466.3 kB / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1294, allocations: 3.938 kB / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1295, allocations: 23.92 kB / 398.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1295, allocations: 3.953 kB / 398.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1295, allocations: 8 kB / 398.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1295, allocations: 3.984 kB / 398.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1295, allocations: 0 / 398.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.13, allocations: 315.3 kB / 398.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1301, allocations: 92.94 kB / 398.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.1301, allocations: 11.95 kB / 398.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1303, allocations: 15.98 kB / 398.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1304, allocations: 7.984 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1304, allocations: 8.062 kB / 398.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1305, allocations: 140.3 kB / 398.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1305, allocations: 0 / 398.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1308, allocations: 36 kB / 398.8 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: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001661/0.131, allocations: 119.2 kB / 398.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1312, allocations: 116.1 kB / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1312, allocations: 0 / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1314, allocations: 55.92 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1317, allocations: 36.14 kB / 399.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.1325, allocations: 373.8 kB / 399.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1329, allocations: 0.7167 MB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.133, allocations: 15.44 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.133, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.004625/0.1376, allocations: 1.971 MB / 402.2 MB, free: 11.38 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.LinearSystems.Examples.BasicComparisonLLCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLLCalcHelperMain.o] Error 1