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.00103/0.00103, allocations: 99.19 kB / 16.02 MB, free: 76 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.001089/0.001089, allocations: 182.1 kB / 16.92 MB, free: 6.918 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.011/2.011, allocations: 205.4 MB / 223.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05464/0.05464, allocations: 10.73 MB / 282.1 MB, free: 10.45 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.0005182/0.0005182, allocations: 16.2 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 50 MB / 392.9 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002106/0.1222, allocations: 1.35 MB / 394.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.123, allocations: 311.1 kB / 394.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.123, allocations: 0 / 394.5 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1231, allocations: 11.81 kB / 394.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1232, allocations: 7.938 kB / 394.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1236, allocations: 79.88 kB / 394.6 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1238, allocations: 123.7 kB / 394.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1239, allocations: 21.56 kB / 394.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.547e-05/0.124, allocations: 47.72 kB / 394.8 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1241, allocations: 59.62 kB / 394.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1242, allocations: 8 kB / 394.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.1242, allocations: 35.97 kB / 394.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.1243, allocations: 27.83 kB / 395 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.1244, allocations: 81.31 kB / 395 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1245, allocations: 99.8 kB / 395.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1246, allocations: 0 / 395.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1246, allocations: 0 / 395.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1246, allocations: 0 / 395.1 MB, free: 3.176 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.0007317/0.1253, allocations: 426.6 kB / 395.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1254, allocations: 12.03 kB / 395.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.1254, allocations: 16.75 kB / 395.6 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.1257, allocations: 235.7 kB / 395.8 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1257, allocations: 12.38 kB / 395.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.1258, allocations: 12.36 kB / 395.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1261, allocations: 138.2 kB / 396 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1261, allocations: 192 / 396 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.1261, allocations: 7.938 kB / 396 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1262, allocations: 4 kB / 396 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.1263, allocations: 55.97 kB / 396 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.1272, allocations: 416.5 kB / 396.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1274, allocations: 122.5 kB / 396.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1276, allocations: 56.84 kB / 396.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1276, allocations: 0 / 396.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.1279, allocations: 123.3 kB / 396.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.1279, allocations: 0 / 396.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004764/0.1284, allocations: 205.4 kB / 396.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.1285, allocations: 162.2 kB / 397.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1287, allocations: 194.1 kB / 397.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1287, allocations: 29.7 kB / 397.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.1288, allocations: 123.9 kB / 397.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1289, allocations: 43.53 kB / 397.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1289, allocations: 17.72 kB / 397.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1291, allocations: 334.8 kB / 397.8 MB, free: 236 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.1292, allocations: 39.98 kB / 397.9 MB, free: 196 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1294, allocations: 117.4 kB / 398 MB, free: 44 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1296, allocations: 137.9 kB / 398.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1296, allocations: 0 / 398.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003539/0.13, allocations: 169.3 kB / 398.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.13, allocations: 15.06 kB / 398.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.13, allocations: 0 / 398.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.13, allocations: 4 kB / 398.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1302, allocations: 31.98 kB / 398.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1302, allocations: 7.938 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1304, allocations: 24.02 kB / 398.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1304, allocations: 8 kB / 398.4 MB, free: 15.63 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: 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.0001126/0.1305, allocations: 129.8 kB / 398.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1305, allocations: 15.81 kB / 398.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.1306, allocations: 21.52 kB / 398.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1306, allocations: 3.938 kB / 398.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1306, allocations: 3.938 kB / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1306, allocations: 0 / 398.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.1312, allocations: 474.4 kB / 399 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1312, allocations: 0 / 399 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1313, allocations: 23.98 kB / 399 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1313, allocations: 3.938 kB / 399 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1313, allocations: 4 kB / 399 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1313, allocations: 3.984 kB / 399 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1313, allocations: 0 / 399 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.1318, allocations: 323.2 kB / 399.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-05/0.1319, allocations: 92.94 kB / 399.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.1319, allocations: 3.938 kB / 399.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1321, allocations: 15.98 kB / 399.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1322, allocations: 12.05 kB / 399.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.1322, allocations: 4 kB / 399.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1323, allocations: 144.3 kB / 399.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.524e-06/0.1323, allocations: 4 kB / 399.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1326, allocations: 39.94 kB / 399.7 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: 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.0001698/0.1328, allocations: 111.2 kB / 399.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.1331, allocations: 123.8 kB / 399.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1331, allocations: 0 / 399.9 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1332, allocations: 56.67 kB / 399.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.1336, allocations: 43.69 kB / 400 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.1344, allocations: 382.3 kB / 400.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1348, allocations: 0.7167 MB / 401.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1349, allocations: 15.44 kB / 401.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1349, allocations: 0 / 401.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.004118/0.139, allocations: 1.978 MB / 403.1 MB, free: 10.75 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