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.005299/0.005299, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 189.6 kB / 16.79 MB, free: 5.809 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.634/1.634, allocations: 205.1 MB / 222.7 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05543/0.05543, allocations: 10.74 MB / 280.7 MB, free: 10.71 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.001315/0.001315, allocations: 67.91 kB / 340.5 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 49.03 MB / 389.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003029/0.1249, allocations: 1.685 MB / 391.2 MB, free: 4.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.1256, allocations: 322.9 kB / 391.5 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.1256, allocations: 0 / 391.5 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.1257, allocations: 3.938 kB / 391.5 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.1258, allocations: 19.86 kB / 391.5 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1261, allocations: 71.88 kB / 391.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1263, allocations: 123.7 kB / 391.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1265, allocations: 17.56 kB / 391.8 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.1265, allocations: 51.7 kB / 391.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.1266, allocations: 63.62 kB / 391.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1267, allocations: 8 kB / 391.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.1268, allocations: 35.97 kB / 391.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.1268, allocations: 31.84 kB / 391.9 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.1269, allocations: 59.59 kB / 392 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.127, allocations: 99.83 kB / 392.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.127, allocations: 0 / 392.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.127, allocations: 0 / 392.1 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1271, allocations: 3.938 kB / 392.1 MB, free: 4.102 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.0007225/0.1278, allocations: 454.5 kB / 392.5 MB, free: 3.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1278, allocations: 12.03 kB / 392.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.1279, allocations: 20.75 kB / 392.6 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1282, allocations: 231.9 kB / 392.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1282, allocations: 4.375 kB / 392.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1282, allocations: 12.36 kB / 392.8 MB, free: 3.297 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.1285, allocations: 134.4 kB / 393 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1285, allocations: 192 / 393 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1285, allocations: 3.938 kB / 393 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1285, allocations: 8 kB / 393 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1287, allocations: 51.97 kB / 393 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.1294, allocations: 408.5 kB / 393.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.1296, allocations: 114.6 kB / 393.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1297, allocations: 60.84 kB / 393.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.1297, allocations: 3.938 kB / 393.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.13, allocations: 111.3 kB / 393.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.13, allocations: 0 / 393.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004533/0.1305, allocations: 201.5 kB / 393.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.1306, allocations: 162.2 kB / 394.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1307, allocations: 198 kB / 394.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1308, allocations: 33.7 kB / 394.3 MB, free: 1.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1309, allocations: 115.9 kB / 394.4 MB, free: 1.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1309, allocations: 43.53 kB / 394.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.131, allocations: 41.7 kB / 394.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1311, allocations: 330.8 kB / 394.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.1312, allocations: 35.98 kB / 394.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1313, allocations: 114.5 kB / 394.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.1315, allocations: 137.7 kB / 395.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1316, allocations: 0 / 395.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002669/0.1318, allocations: 169.3 kB / 395.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1319, allocations: 4 kB / 395.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1319, allocations: 0 / 395.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1319, allocations: 4 kB / 395.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.132, allocations: 35.86 kB / 395.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.132, allocations: 4 kB / 395.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1322, allocations: 23.83 kB / 395.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1322, allocations: 12.12 kB / 395.3 MB, free: 0.5586 MB / 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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.1323, allocations: 129.8 kB / 395.5 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1324, allocations: 15.86 kB / 395.5 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.1324, allocations: 25.5 kB / 395.5 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1324, allocations: 7.938 kB / 395.5 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1325, allocations: 0 / 395.5 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1325, allocations: 0 / 395.5 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.133, allocations: 466.5 kB / 396 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.133, allocations: 0 / 396 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1331, allocations: 19.94 kB / 396 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.1331, allocations: 7.938 kB / 396 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1332, allocations: 7.922 kB / 396 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1332, allocations: 0 / 396 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1332, allocations: 4 kB / 396 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.1336, allocations: 319.8 kB / 396.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.1337, allocations: 88.98 kB / 396.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1337, allocations: 8 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1339, allocations: 7.984 kB / 396.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.134, allocations: 7.984 kB / 396.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.134, allocations: 8 kB / 396.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1341, allocations: 144.2 kB / 396.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1342, allocations: 4 kB / 396.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.1345, allocations: 43.97 kB / 396.6 MB, free: 15.17 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 (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.0002096/0.1347, allocations: 111.2 kB / 396.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.135, allocations: 116 kB / 396.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.135, allocations: 0 / 396.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1352, allocations: 55.92 kB / 396.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1355, allocations: 48.2 kB / 396.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.1364, allocations: 367 kB / 397.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1368, allocations: 0.7166 MB / 398 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1368, allocations: 23.38 kB / 398 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1368, allocations: 3.938 kB / 398 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.004116/0.1409, allocations: 1.982 MB / 400 MB, free: 11.69 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.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