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.001178/0.001183, allocations: 96.14 kB / 15.87 MB, free: 16 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.001087/0.001087, allocations: 194.8 kB / 16.79 MB, free: 6.812 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.718/1.718, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05486/0.05486, allocations: 10.74 MB / 280.7 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.00126/0.00126, allocations: 67.89 kB / 340.5 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 49.03 MB / 389.5 MB, free: 6.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003177/0.1119, allocations: 1.728 MB / 391.3 MB, free: 4.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.1127, allocations: 378.8 kB / 391.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.1128, allocations: 3.938 kB / 391.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.1129, allocations: 7.938 kB / 391.6 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.113, allocations: 15.86 kB / 391.7 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1133, allocations: 87.84 kB / 391.7 MB, free: 4.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.1135, allocations: 159.5 kB / 391.9 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1137, allocations: 21.67 kB / 391.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.1137, allocations: 59.7 kB / 392 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1138, allocations: 79.55 kB / 392 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1139, allocations: 12 kB / 392.1 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.114, allocations: 75.92 kB / 392.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.1141, allocations: 43.77 kB / 392.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.1142, allocations: 63.53 kB / 392.2 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1144, allocations: 143.8 kB / 392.4 MB, free: 3.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1144, allocations: 0 / 392.4 MB, free: 3.828 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1144, allocations: 0 / 392.4 MB, free: 3.828 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1144, allocations: 0 / 392.4 MB, free: 3.828 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.0007519/0.1152, allocations: 495.1 kB / 392.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1152, allocations: 8.031 kB / 392.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.1153, allocations: 24.66 kB / 392.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1156, allocations: 228 kB / 393.1 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1156, allocations: 8.547 kB / 393.1 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.1156, allocations: 20.31 kB / 393.1 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.1159, allocations: 174.2 kB / 393.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.116, allocations: 0 / 393.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.116, allocations: 0 / 393.3 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.116, allocations: 4 kB / 393.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1162, allocations: 63.95 kB / 393.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.117, allocations: 468.5 kB / 393.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1173, allocations: 134.5 kB / 394 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.1174, allocations: 68.83 kB / 394 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.1175, allocations: 0 / 394 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.1178, allocations: 155.2 kB / 394.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1178, allocations: 0 / 394.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005577/0.1184, allocations: 257.2 kB / 394.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1185, allocations: 166.2 kB / 394.6 MB, free: 1.375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1187, allocations: 202.6 kB / 394.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1187, allocations: 33.7 kB / 394.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1188, allocations: 128.3 kB / 395 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.1189, allocations: 51.3 kB / 395 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.1189, allocations: 57.61 kB / 395.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1191, allocations: 330.8 kB / 395.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1192, allocations: 52.25 kB / 395.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1194, allocations: 163.1 kB / 395.6 MB, free: 292 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1198, allocations: 242.8 kB / 395.8 MB, free: 8 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1198, allocations: 0 / 395.8 MB, free: 8 kB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004101/0.1202, allocations: 248.9 kB / 396.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1202, allocations: 6.812 kB / 396.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1202, allocations: 7.938 kB / 396.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1203, allocations: 4 kB / 396.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1205, allocations: 47.91 kB / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1205, allocations: 4.375 kB / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1206, allocations: 31.83 kB / 396.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1207, allocations: 12 kB / 396.2 MB, free: 15.65 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.0001886/0.1209, allocations: 151.3 kB / 396.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1209, allocations: 23.8 kB / 396.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.121, allocations: 21.88 kB / 396.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.121, allocations: 4 kB / 396.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.121, allocations: 0 / 396.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.121, allocations: 4 kB / 396.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.1216, allocations: 0.5289 MB / 396.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1216, allocations: 0 / 396.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1218, allocations: 23.97 kB / 396.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1218, allocations: 7.984 kB / 397 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1219, allocations: 4 kB / 397 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1219, allocations: 4 kB / 397 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1219, allocations: 4 kB / 397 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.1224, allocations: 375.1 kB / 397.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.1225, allocations: 92.94 kB / 397.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.1225, allocations: 8 kB / 397.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1227, allocations: 11.98 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1227, allocations: 23.81 kB / 397.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1227, allocations: 11.98 kB / 397.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1229, allocations: 148.3 kB / 397.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1229, allocations: 3.938 kB / 397.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.1232, allocations: 56 kB / 397.7 MB, free: 14.06 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.0002031/0.1234, allocations: 127.5 kB / 397.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.1237, allocations: 160.4 kB / 398 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1238, allocations: 4.062 kB / 398 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1239, allocations: 67.97 kB / 398 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1243, allocations: 47.62 kB / 398.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.125, allocations: 416.1 kB / 398.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1253, allocations: 0.7248 MB / 399.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1254, allocations: 23.44 kB / 399.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1254, allocations: 0 / 399.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Templates: time 0.004509/0.1299, allocations: 2.466 MB / 401.7 MB, free: 9.969 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