Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 92.47 kB / 16.37 MB, free: 6.43 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.001264/0.001264, allocations: 189.3 kB / 17.27 MB, free: 6.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 241.3 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06955/0.06955, allocations: 8.095 MB / 300.5 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 363.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 52.52 MB / 416 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.00117/0.3224, allocations: 0.6116 MB / 416.6 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3236, allocations: 1.12 MB / 417.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.3237, allocations: 0 / 417.7 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.3239, allocations: 43.77 kB / 417.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.324, allocations: 23.91 kB / 417.8 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.3241, allocations: 31.91 kB / 417.8 MB, free: 23.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.3242, allocations: 43.8 kB / 417.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3243, allocations: 27.97 kB / 417.9 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.3243, allocations: 19.92 kB / 417.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.3244, allocations: 23.86 kB / 417.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3244, allocations: 0 / 417.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3246, allocations: 51.92 kB / 418 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3246, allocations: 11.97 kB / 418 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.3246, allocations: 41.64 kB / 418 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3248, allocations: 77.8 kB / 418.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3248, allocations: 0 / 418.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3248, allocations: 0 / 418.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3248, allocations: 0 / 418.1 MB, free: 22.83 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004649/0.3253, allocations: 371.2 kB / 418.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3253, allocations: 11.97 kB / 418.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.3254, allocations: 11.86 kB / 418.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.3255, allocations: 170.9 kB / 418.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3255, allocations: 12 kB / 418.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3255, allocations: 4 kB / 418.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3257, allocations: 78.38 kB / 418.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3257, allocations: 0 / 418.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3257, allocations: 0 / 418.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3257, allocations: 3.953 kB / 418.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.3258, allocations: 47.92 kB / 418.8 MB, free: 22.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.3262, allocations: 344.5 kB / 419.1 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.023e-05/0.3263, allocations: 30.5 kB / 419.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.3263, allocations: 8.922 kB / 419.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3264, allocations: 81.11 kB / 419.3 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3265, allocations: 34.56 kB / 419.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3265, allocations: 0 / 419.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.3266, allocations: 45.69 kB / 419.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3267, allocations: 59.34 kB / 419.4 MB, free: 21.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.3267, allocations: 113.8 kB / 419.5 MB, free: 21.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.3268, allocations: 29.64 kB / 419.5 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.3268, allocations: 115.8 kB / 419.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-06/0.3268, allocations: 3.906 kB / 419.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.3268, allocations: 4 kB / 419.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.3269, allocations: 318.8 kB / 420 MB, free: 20.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.3269, allocations: 16.11 kB / 420 MB, free: 20.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.327, allocations: 12 kB / 420 MB, free: 20.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.327, allocations: 19.98 kB / 420 MB, free: 20.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.327, allocations: 0 / 420 MB, free: 20.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.303e-05/0.3271, allocations: 61.69 kB / 420.1 MB, free: 20.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3271, allocations: 4 kB / 420.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3271, allocations: 0 / 420.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3271, allocations: 0 / 420.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.3272, allocations: 12.12 kB / 420.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3272, allocations: 4 kB / 420.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.3273, allocations: 4 kB / 420.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3273, allocations: 7.984 kB / 420.1 MB, free: 20.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.336e-05/0.3274, allocations: 117.8 kB / 420.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3274, allocations: 3.906 kB / 420.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.3275, allocations: 57.16 kB / 420.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3275, allocations: 0 / 420.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3275, allocations: 0 / 420.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3275, allocations: 4 kB / 420.3 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.3277, allocations: 173.5 kB / 420.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3277, allocations: 4.031 kB / 420.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.3277, allocations: 7.938 kB / 420.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3277, allocations: 0 / 420.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3277, allocations: 0 / 420.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3277, allocations: 4 kB / 420.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3277, allocations: 0 / 420.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.155e-05/0.3278, allocations: 135.5 kB / 420.6 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.3279, allocations: 89.02 kB / 420.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3279, allocations: 4.031 kB / 420.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.3279, allocations: 0 / 420.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.328, allocations: 3.984 kB / 420.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.328, allocations: 0 / 420.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.049e-05/0.328, allocations: 95.2 kB / 420.8 MB, free: 19.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.328, allocations: 4 kB / 420.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3283, allocations: 19.92 kB / 420.8 MB, free: 19.79 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001521/0.3284, allocations: 103.7 kB / 420.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.27e-05/0.3285, allocations: 27.98 kB / 420.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3285, allocations: 0 / 420.9 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.3286, allocations: 4 kB / 420.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3288, allocations: 7.609 kB / 421 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.3291, allocations: 208.5 kB / 421.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.3293, allocations: 0.6887 MB / 421.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3294, allocations: 11.44 kB / 421.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3294, allocations: 0 / 421.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of Templates: time 0.002536/0.3319, allocations: 0.8326 MB / 422.7 MB, free: 17.84 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.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 OMCppPowerSysPro_PowerSysPro.Tests.OneSourceCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Tests.OneSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Tests.OneSourceCalcHelperMain.o] Error 1