Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006947/0.006947, allocations: 100.2 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.001329/0.001329, allocations: 190.2 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.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05739/0.05739, 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.002201/0.002201, allocations: 63.91 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1359, allocations: 49.03 MB / 389.5 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003557/0.1395, allocations: 1.899 MB / 391.4 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1408, allocations: 0.6227 MB / 392 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.1408, allocations: 7.938 kB / 392.1 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.1409, allocations: 11.86 kB / 392.1 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1411, allocations: 15.81 kB / 392.1 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.1416, allocations: 143.7 kB / 392.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.1418, allocations: 199.4 kB / 392.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.142, allocations: 40.66 kB / 392.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.1421, allocations: 75.59 kB / 392.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1422, allocations: 103.4 kB / 392.6 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1423, allocations: 12 kB / 392.6 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1425, allocations: 147.9 kB / 392.8 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.1426, allocations: 55.69 kB / 392.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.694e-05/0.1427, allocations: 91.39 kB / 392.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.143, allocations: 203.7 kB / 393.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.143, allocations: 3.938 kB / 393.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.143, allocations: 0 / 393.1 MB, free: 3.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.143, allocations: 0 / 393.1 MB, free: 3.082 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009659/0.144, allocations: 0.564 MB / 393.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.144, allocations: 12.03 kB / 393.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.1441, allocations: 28.66 kB / 393.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1445, allocations: 275.5 kB / 394 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1445, allocations: 8.375 kB / 394 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.1445, allocations: 20.31 kB / 394 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.1449, allocations: 175.1 kB / 394.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1449, allocations: 12.12 kB / 394.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.145, allocations: 3.938 kB / 394.2 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.145, allocations: 4 kB / 394.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1452, allocations: 67.89 kB / 394.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1462, allocations: 0.5158 MB / 394.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1466, allocations: 150.5 kB / 395 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1467, allocations: 56.84 kB / 395 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1467, allocations: 0 / 395 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.1471, allocations: 151.3 kB / 395.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.1472, allocations: 0 / 395.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006766/0.1478, allocations: 261.3 kB / 395.4 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.148, allocations: 166.2 kB / 395.6 MB, free: 424 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1483, allocations: 262.6 kB / 395.8 MB, free: 152 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1484, allocations: 33.7 kB / 395.9 MB, free: 112 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1485, allocations: 148.5 kB / 396 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.1486, allocations: 67 kB / 396.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.1487, allocations: 65.92 kB / 396.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1489, allocations: 338.8 kB / 396.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1491, allocations: 52.25 kB / 396.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1493, allocations: 185.6 kB / 396.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1497, allocations: 245.5 kB / 396.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1497, allocations: 0 / 396.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004609/0.1501, allocations: 269 kB / 397.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1502, allocations: 4 kB / 397.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1502, allocations: 4 kB / 397.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.1502, allocations: 8 kB / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1505, allocations: 60.31 kB / 397.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.1505, allocations: 8 kB / 397.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1507, allocations: 35.67 kB / 397.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1507, allocations: 12 kB / 397.3 MB, free: 14.5 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002568/0.151, allocations: 149.5 kB / 397.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.1511, allocations: 23.72 kB / 397.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.839e-05/0.1511, allocations: 26.17 kB / 397.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1511, allocations: 4 kB / 397.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1512, allocations: 4 kB / 397.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.1512, allocations: 7.922 kB / 397.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.1519, allocations: 0.5562 MB / 398.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.152, allocations: 0 / 398.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.1522, allocations: 31.98 kB / 398.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1522, allocations: 0 / 398.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1522, allocations: 19.86 kB / 398.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1523, allocations: 4 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1523, allocations: 3.938 kB / 398.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.1529, allocations: 383.2 kB / 398.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.153, allocations: 108.7 kB / 398.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.153, allocations: 12 kB / 398.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.1532, allocations: 7.984 kB / 398.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.1533, allocations: 11.98 kB / 398.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1533, allocations: 15.98 kB / 398.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.1536, allocations: 182 kB / 398.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1536, allocations: 0 / 398.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.154, allocations: 79.98 kB / 398.9 MB, free: 12.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002858/0.1543, allocations: 155.1 kB / 399.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1546, allocations: 172 kB / 399.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1546, allocations: 0 / 399.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1548, allocations: 83.5 kB / 399.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1553, allocations: 48.52 kB / 399.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1566, allocations: 0.6009 MB / 400 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1569, allocations: 0.7482 MB / 400.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.157, allocations: 23.44 kB / 400.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.157, allocations: 0 / 400.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Templates: time 0.006303/0.1633, allocations: 3.218 MB / 404 MB, free: 7.684 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.BasicCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.o] Error 1