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.001159/0.001159, allocations: 92.7 kB / 16.02 MB, free: 80 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.0014/0.0014, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.068/2.068, allocations: 205.4 MB / 223.1 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06773/0.06773, allocations: 10.75 MB / 282.1 MB, free: 10.7 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.0007676/0.0007677, allocations: 12.22 kB / 342.9 MB, free: 23.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1442, allocations: 50.02 MB / 392.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002488/0.1467, allocations: 1.374 MB / 394.3 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1478, allocations: 382.8 kB / 394.6 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1479, allocations: 0 / 394.6 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.148, allocations: 7.875 kB / 394.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1482, allocations: 19.88 kB / 394.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.1486, allocations: 91.83 kB / 394.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.1488, allocations: 147.6 kB / 394.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.149, allocations: 21.66 kB / 394.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1492, allocations: 59.66 kB / 395 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1493, allocations: 79.59 kB / 395.1 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1493, allocations: 8 kB / 395.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1495, allocations: 75.92 kB / 395.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1495, allocations: 31.86 kB / 395.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1497, allocations: 101.2 kB / 395.3 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1499, allocations: 139.7 kB / 395.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1499, allocations: 0 / 395.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1499, allocations: 0 / 395.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1499, allocations: 3.938 kB / 395.4 MB, free: 2.926 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.0008183/0.1508, allocations: 451.3 kB / 395.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1508, allocations: 12.03 kB / 395.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.1509, allocations: 16.75 kB / 395.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1512, allocations: 235.8 kB / 396.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1512, allocations: 12.56 kB / 396.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.1513, allocations: 16.36 kB / 396.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1516, allocations: 178.1 kB / 396.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1516, allocations: 0 / 396.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.1516, allocations: 3.984 kB / 396.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1517, allocations: 4 kB / 396.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1519, allocations: 59.97 kB / 396.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.1527, allocations: 472.5 kB / 396.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.153, allocations: 134.5 kB / 397 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1531, allocations: 72.83 kB / 397 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1532, allocations: 0 / 397 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.1536, allocations: 155.2 kB / 397.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 3.857e-06/0.1536, allocations: 3.984 kB / 397.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.000698/0.1543, allocations: 261.4 kB / 397.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1544, allocations: 166.2 kB / 397.6 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.1547, allocations: 198.5 kB / 397.8 MB, free: 292 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1547, allocations: 37.7 kB / 397.9 MB, free: 248 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1549, allocations: 128.4 kB / 398 MB, free: 116 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.155, allocations: 55.25 kB / 398 MB, free: 60 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.155, allocations: 33.64 kB / 398.1 MB, free: 20 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1552, allocations: 334.9 kB / 398.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1553, allocations: 52.25 kB / 398.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.1555, allocations: 163.1 kB / 398.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.1559, allocations: 242.8 kB / 398.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.1559, allocations: 4 kB / 398.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004314/0.1564, allocations: 245.1 kB / 399.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1564, allocations: 10.97 kB / 399.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1564, allocations: 8 kB / 399.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1565, allocations: 4.375 kB / 399.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1567, allocations: 59.84 kB / 399.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1567, allocations: 4 kB / 399.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1568, allocations: 23.84 kB / 399.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1569, allocations: 15.94 kB / 399.2 MB, free: 14.77 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,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.1571, allocations: 155.3 kB / 399.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1572, allocations: 15.81 kB / 399.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1573, allocations: 25.86 kB / 399.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1573, allocations: 4 kB / 399.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1573, allocations: 0 / 399.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1573, allocations: 0 / 399.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.1581, allocations: 0.5327 MB / 399.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1581, allocations: 0 / 399.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.1583, allocations: 27.98 kB / 400 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1583, allocations: 0 / 400 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.1583, allocations: 11.98 kB / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1583, allocations: 0 / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1583, allocations: 0 / 400 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.1589, allocations: 387.1 kB / 400.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.159, allocations: 88.92 kB / 400.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1591, allocations: 11.98 kB / 400.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1592, allocations: 8 kB / 400.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1593, allocations: 23.86 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1593, allocations: 7.938 kB / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1594, allocations: 148.2 kB / 400.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1594, allocations: 0 / 400.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003656/0.1598, allocations: 59.98 kB / 400.7 MB, free: 13.18 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 (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.0002453/0.1601, allocations: 147.3 kB / 400.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.1605, allocations: 159.8 kB / 401 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1605, allocations: 0.75 kB / 401 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1607, allocations: 79.91 kB / 401.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1611, allocations: 31.77 kB / 401.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.162, allocations: 420.3 kB / 401.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.1625, allocations: 0.7287 MB / 402.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1626, allocations: 23.42 kB / 402.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1626, allocations: 0 / 402.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Templates: time 0.00637/0.169, allocations: 2.45 MB / 404.7 MB, free: 9.086 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.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