Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.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/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-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(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008151/0.0008152, allocations: 103 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.0008742/0.0008739, allocations: 173.1 kB / 16.58 MB, free: 6.402 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.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01006/0.01006, allocations: 1.92 MB / 272.9 MB, free: 3.395 MB / 222.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.0005011/0.0005013, allocations: 12 kB / 331.5 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 48.1 MB / 379.6 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001631/0.1098, allocations: 1.101 MB / 380.7 MB, free: 80 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002829/0.1101, allocations: 93.5 kB / 380.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.1101, allocations: 4 kB / 380.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.1102, allocations: 0 / 380.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.1102, allocations: 7.922 kB / 380.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.1104, allocations: 4 kB / 380.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.1105, allocations: 31.92 kB / 380.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1106, allocations: 0 / 380.9 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.1106, allocations: 15.92 kB / 380.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.1107, allocations: 4 kB / 380.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1107, allocations: 0 / 380.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.1107, allocations: 4 kB / 380.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.1108, allocations: 3.938 kB / 380.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.1108, allocations: 33.69 kB / 380.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.1109, allocations: 15.97 kB / 380.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1109, allocations: 3.938 kB / 380.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1109, allocations: 4 kB / 380.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1109, allocations: 0 / 380.9 MB, free: 15.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005196/0.1114, allocations: 347.5 kB / 381.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1115, allocations: 8.031 kB / 381.3 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.1115, allocations: 4 kB / 381.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1117, allocations: 159.1 kB / 381.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.1117, allocations: 0 / 381.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1117, allocations: 8 kB / 381.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1119, allocations: 61.56 kB / 381.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1119, allocations: 0 / 381.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1119, allocations: 0 / 381.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1119, allocations: 0 / 381.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1121, allocations: 39.97 kB / 381.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1125, allocations: 256.8 kB / 381.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1127, allocations: 70.55 kB / 381.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.1128, allocations: 24.94 kB / 381.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.1128, allocations: 0 / 381.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.113, allocations: 75.38 kB / 382 MB, free: 14.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.113, allocations: 0 / 382 MB, free: 14.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003114/0.1133, allocations: 93.66 kB / 382.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1134, allocations: 59.34 kB / 382.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.1135, allocations: 105.8 kB / 382.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1135, allocations: 29.7 kB / 382.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1136, allocations: 80.14 kB / 382.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1136, allocations: 15.75 kB / 382.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.1136, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1138, allocations: 314.8 kB / 382.7 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.1139, allocations: 19.98 kB / 382.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.1139, allocations: 38.56 kB / 382.7 MB, free: 13.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.114, allocations: 20.17 kB / 382.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.114, allocations: 3.953 kB / 382.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.1142, allocations: 89.59 kB / 382.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1142, allocations: 8 kB / 382.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1142, allocations: 0 / 382.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1142, allocations: 3.938 kB / 382.8 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.1143, allocations: 11.98 kB / 382.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1144, allocations: 12 kB / 382.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.1144, allocations: 7.984 kB / 382.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1144, allocations: 4 kB / 382.9 MB, free: 13.69 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001029/0.1145, allocations: 110.5 kB / 383 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1145, allocations: 11.89 kB / 383 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.1146, allocations: 3.5 kB / 383 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1146, allocations: 384 / 383 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1146, allocations: 0 / 383 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1146, allocations: 4 kB / 383 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1148, allocations: 173.6 kB / 383.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1148, allocations: 0 / 383.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1148, allocations: 15.94 kB / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1149, allocations: 0 / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1149, allocations: 0 / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1149, allocations: 0 / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1149, allocations: 4 kB / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1151, allocations: 105 kB / 383.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1151, allocations: 81.09 kB / 383.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1152, allocations: 3.953 kB / 383.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1152, allocations: 8 kB / 383.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1153, allocations: 11.98 kB / 383.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.1153, allocations: 0 / 383.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.1153, allocations: 79.28 kB / 383.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1153, allocations: 0 / 383.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.1155, allocations: 12 kB / 383.5 MB, free: 12.98 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.529e-05/0.1156, allocations: 87.25 kB / 383.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1158, allocations: 55.89 kB / 383.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1158, allocations: 0 / 383.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1159, allocations: 27.98 kB / 383.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.116, allocations: 3.938 kB / 383.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.1164, allocations: 154.4 kB / 383.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.1167, allocations: 0.6809 MB / 384.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1167, allocations: 7.438 kB / 384.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1167, allocations: 0 / 384.5 MB, free: 11.9 MB / 286.1 MB Notification: Performance of Templates: time 0.001855/0.1186, allocations: 0.6021 MB / 385.1 MB, free: 11.3 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.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 OMCppMEV_MEV.Test.TestDutyCycleGeneratorCalcHelperMain.o OMCppMEV_MEV.Test.TestDutyCycleGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestDutyCycleGeneratorCalcHelperMain.o] Error 1