Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 102.6 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.001517/0.001518, allocations: 172.9 kB / 16.58 MB, free: 6.398 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.058/2.058, allocations: 205.4 MB / 222.8 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05642/0.05642, allocations: 10.75 MB / 281.8 MB, free: 10.54 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.000567/0.0005673, allocations: 12 kB / 342.3 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 50 MB / 392.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.00233/0.1274, allocations: 1.339 MB / 393.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.1283, allocations: 355 kB / 394 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1285, allocations: 4 kB / 394 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.1285, allocations: 7.875 kB / 394 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1286, allocations: 15.88 kB / 394 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.1291, allocations: 79.84 kB / 394.1 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1294, allocations: 143.6 kB / 394.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1295, allocations: 33.59 kB / 394.2 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.1296, allocations: 55.7 kB / 394.3 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1297, allocations: 71.61 kB / 394.4 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1298, allocations: 8 kB / 394.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1299, allocations: 71.94 kB / 394.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.13, allocations: 35.83 kB / 394.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.1301, allocations: 53.56 kB / 394.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1303, allocations: 135.8 kB / 394.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1303, allocations: 0 / 394.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1303, allocations: 0 / 394.7 MB, free: 3.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1303, allocations: 4 kB / 394.7 MB, free: 3.352 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008567/0.1312, allocations: 443.1 kB / 395.1 MB, free: 2.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.1313, allocations: 12.03 kB / 395.1 MB, free: 2.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1314, allocations: 19.77 kB / 395.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.1318, allocations: 234.6 kB / 395.4 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1319, allocations: 16.17 kB / 395.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.1319, allocations: 12 kB / 395.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.1323, allocations: 172.6 kB / 395.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1324, allocations: 0 / 395.6 MB, free: 2.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1324, allocations: 8 kB / 395.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1324, allocations: 0 / 395.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1326, allocations: 72.52 kB / 395.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1336, allocations: 461.4 kB / 396.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1339, allocations: 130.6 kB / 396.2 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1341, allocations: 68.83 kB / 396.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1341, allocations: 4 kB / 396.3 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.1345, allocations: 151.2 kB / 396.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.1345, allocations: 3.938 kB / 396.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005749/0.1351, allocations: 257.4 kB / 396.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.1353, allocations: 174.2 kB / 396.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1355, allocations: 194.5 kB / 397 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.1355, allocations: 37.69 kB / 397.1 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.1357, allocations: 124.3 kB / 397.2 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1358, allocations: 59.25 kB / 397.3 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.1358, allocations: 4 kB / 397.3 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.136, allocations: 334.8 kB / 397.6 MB, free: 168 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1361, allocations: 56.25 kB / 397.6 MB, free: 108 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.1364, allocations: 159.1 kB / 397.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1366, allocations: 91.77 kB / 397.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1366, allocations: 0 / 397.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004203/0.137, allocations: 245.4 kB / 398.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.137, allocations: 15 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.137, allocations: 4 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1371, allocations: 4 kB / 398.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1373, allocations: 51.91 kB / 398.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1373, allocations: 7.938 kB / 398.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1374, allocations: 23.84 kB / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1375, allocations: 12 kB / 398.2 MB, free: 15.45 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,$PRE.cplxP_dig_TU.y_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,$PRE.cplxP_dig_FE.y_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,$PRE.cplxP_dig_BE.y_pre1,cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cplxP_dig_BE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_FE.y,$PRE.cplxP_dig_TU.y,cplxP_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002144/0.1377, allocations: 163.7 kB / 398.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1377, allocations: 19.72 kB / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1378, allocations: 17.88 kB / 398.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1378, allocations: 7.984 kB / 398.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1378, allocations: 4 kB / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1378, allocations: 0 / 398.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.1385, allocations: 0.5329 MB / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1386, allocations: 0 / 399 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1387, allocations: 27.92 kB / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1387, allocations: 0 / 399 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1388, allocations: 11.98 kB / 399 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1388, allocations: 0 / 399 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1388, allocations: 0 / 399 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.1394, allocations: 379.7 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1395, allocations: 92.91 kB / 399.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.1395, allocations: 15.98 kB / 399.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1396, allocations: 8 kB / 399.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.1397, allocations: 11.92 kB / 399.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1397, allocations: 15.92 kB / 399.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1399, allocations: 148.5 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1399, allocations: 0 / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.1402, allocations: 52 kB / 399.7 MB, free: 13.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002171/0.1404, allocations: 143.2 kB / 399.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1408, allocations: 175.9 kB / 400 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1408, allocations: 0 / 400 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.141, allocations: 71.91 kB / 400.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1413, allocations: 43.64 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.1422, allocations: 404.8 kB / 400.6 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1426, allocations: 0.7248 MB / 401.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.1427, allocations: 19.44 kB / 401.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1427, allocations: 0 / 401.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Templates: time 0.006373/0.1491, allocations: 2.45 MB / 403.7 MB, free: 9.773 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.BasicComparisonComplexCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplexCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplexCalcHelperMain.o] Error 1