Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.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(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 92.53 kB / 17.31 MB, free: 6.535 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.0007203/0.0007203, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.132/1.132, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2209/0.2209, allocations: 48.77 MB / 321.5 MB, free: 11.2 MB / 270.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.0004266/0.0004266, allocations: 12.72 kB / 392.5 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.07349, allocations: 60.26 MB / 452.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002128/0.07566, allocations: 2.085 MB / 454.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000956/0.07663, allocations: 0.6748 MB / 455.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.07676, allocations: 4 kB / 455.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.07689, allocations: 19.78 kB / 455.5 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.0771, allocations: 71.45 kB / 455.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.07724, allocations: 43.97 kB / 455.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.0775, allocations: 270.8 kB / 455.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.07766, allocations: 56.72 kB / 455.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.0778, allocations: 95.45 kB / 456 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.07796, allocations: 107.5 kB / 456.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.07799, allocations: 8 kB / 456.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.073e-05/0.07806, allocations: 12 kB / 456.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.0781, allocations: 39.72 kB / 456.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.07823, allocations: 141 kB / 456.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.07842, allocations: 155.8 kB / 456.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.07843, allocations: 4 kB / 456.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.07844, allocations: 0 / 456.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07846, allocations: 0 / 456.5 MB, free: 5.398 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008304/0.07929, allocations: 0.5102 MB / 457 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.07934, allocations: 12.03 kB / 457 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.07945, allocations: 28.56 kB / 457 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.07976, allocations: 258.8 kB / 457.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.07979, allocations: 16.38 kB / 457.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.07984, allocations: 20.38 kB / 457.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.08017, allocations: 179.3 kB / 457.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.08019, allocations: 0 / 457.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.08022, allocations: 4 kB / 457.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.08023, allocations: 4 kB / 457.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.08051, allocations: 139.6 kB / 457.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.08137, allocations: 0.662 MB / 458.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.08161, allocations: 146.4 kB / 458.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.08175, allocations: 80.81 kB / 458.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.08178, allocations: 0 / 458.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.0818, allocations: 34.56 kB / 458.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.82e-07/0.08181, allocations: 7.938 kB / 458.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009705/0.08279, allocations: 0.5706 MB / 459.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.08283, allocations: 55.41 kB / 459.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.08304, allocations: 229 kB / 459.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.08306, allocations: 29.7 kB / 459.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.08315, allocations: 152.2 kB / 459.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.0832, allocations: 63.02 kB / 459.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.08324, allocations: 25.7 kB / 459.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.08336, allocations: 330.8 kB / 460 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.08348, allocations: 59.97 kB / 460.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.08362, allocations: 85.53 kB / 460.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.08387, allocations: 145.5 kB / 460.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.08388, allocations: 0 / 460.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003177/0.0842, allocations: 205.4 kB / 460.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.08422, allocations: 7.938 kB / 460.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.08423, allocations: 4.031 kB / 460.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.08425, allocations: 4 kB / 460.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.08457, allocations: 67.95 kB / 460.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009147/0.0855, allocations: 1.343 MB / 461.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.08563, allocations: 11.94 kB / 461.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.08565, allocations: 4 kB / 461.9 MB, free: 15.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/0.08575, allocations: 134 kB / 462.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.0858, allocations: 23.72 kB / 462.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.08612, allocations: 197.8 kB / 462.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.08613, allocations: 0 / 462.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.08614, allocations: 0 / 462.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.08615, allocations: 3.938 kB / 462.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.08676, allocations: 0.5374 MB / 462.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.08677, allocations: 0 / 462.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.08698, allocations: 47.97 kB / 462.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.08699, allocations: 0 / 462.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.08701, allocations: 11.94 kB / 462.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.08701, allocations: 0 / 462.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08702, allocations: 0 / 462.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.08746, allocations: 359.4 kB / 463.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.08755, allocations: 116.8 kB / 463.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.08758, allocations: 11.94 kB / 463.4 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.08771, allocations: 4 kB / 463.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.08776, allocations: 19.97 kB / 463.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.08777, allocations: 4 kB / 463.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.08791, allocations: 164.5 kB / 463.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08792, allocations: 4 kB / 463.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.08817, allocations: 48 kB / 463.6 MB, free: 13.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 8.465e-05/0.08826, allocations: 95.23 kB / 463.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004039/0.08867, allocations: 163.8 kB / 463.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.08869, allocations: 4.062 kB / 463.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.08884, allocations: 79.84 kB / 463.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.08921, allocations: 44.33 kB / 464 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.09024, allocations: 0.8362 MB / 464.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.09051, allocations: 0.7481 MB / 465.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.09057, allocations: 19.44 kB / 465.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09058, allocations: 0 / 465.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Templates: time 0.003832/0.09442, allocations: 2.901 MB / 468.5 MB, free: 8.805 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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 OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4CalcHelperMain.o] Error 1