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.0008248/0.0008248, allocations: 90.89 kB / 16.95 MB, free: 5.953 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.001164/0.001164, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.971/1.971, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3624/0.3624, allocations: 48.78 MB / 321.1 MB, free: 11.23 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.0005376/0.0005377, allocations: 12.5 kB / 391.8 MB, free: 50.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002512/0.1253, allocations: 2.008 MB / 454.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1264, allocations: 0.644 MB / 454.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1266, allocations: 7.938 kB / 454.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1267, allocations: 27.78 kB / 454.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.127, allocations: 75.38 kB / 454.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1271, allocations: 39.91 kB / 454.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.1274, allocations: 246.8 kB / 455.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1276, allocations: 60.69 kB / 455.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1277, allocations: 91.52 kB / 455.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1279, allocations: 103.5 kB / 455.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1279, allocations: 8 kB / 455.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.714e-05/0.128, allocations: 20 kB / 455.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.128, allocations: 27.84 kB / 455.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1281, allocations: 69.52 kB / 455.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1283, allocations: 155.8 kB / 455.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1283, allocations: 4 kB / 455.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1283, allocations: 0 / 455.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1283, allocations: 0 / 455.6 MB, free: 5.945 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.0008493/0.1292, allocations: 0.5217 MB / 456.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.1292, allocations: 16.02 kB / 456.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.1294, allocations: 27.62 kB / 456.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1297, allocations: 257.6 kB / 456.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1298, allocations: 12 kB / 456.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1298, allocations: 20 kB / 456.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1302, allocations: 178.8 kB / 456.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1302, allocations: 0 / 456.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1302, allocations: 7.953 kB / 456.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.1303, allocations: 4 kB / 456.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1306, allocations: 139.6 kB / 456.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1316, allocations: 0.6465 MB / 457.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1319, allocations: 142.4 kB / 457.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1321, allocations: 80.83 kB / 457.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1321, allocations: 7.938 kB / 457.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1321, allocations: 38.5 kB / 457.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.1321, allocations: 4 kB / 457.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001094/0.1332, allocations: 0.5713 MB / 458.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1333, allocations: 55.39 kB / 458.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1335, allocations: 229 kB / 458.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1336, allocations: 29.7 kB / 458.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1337, allocations: 152.3 kB / 458.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.1337, allocations: 63.02 kB / 458.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/0.1337, allocations: 4 kB / 458.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1339, allocations: 330.8 kB / 459.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.134, allocations: 55.97 kB / 459.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1341, allocations: 85.48 kB / 459.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1343, allocations: 63.84 kB / 459.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1343, allocations: 0 / 459.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003359/0.1346, allocations: 201.3 kB / 459.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1347, allocations: 4 kB / 459.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1347, allocations: 7.891 kB / 459.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1347, allocations: 4 kB / 459.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1351, allocations: 63.95 kB / 459.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1362, allocations: 1.342 MB / 460.9 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1363, allocations: 20 kB / 461 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1363, allocations: 4.188 kB / 461 MB, free: 188 kB / 334.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.1365, allocations: 133.8 kB / 461.1 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.1365, allocations: 23.72 kB / 461.1 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.1369, allocations: 195.8 kB / 461.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1369, allocations: 4 kB / 461.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1369, allocations: 7.953 kB / 461.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.137, allocations: 0 / 461.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.1377, allocations: 0.535 MB / 461.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1377, allocations: 0 / 461.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.1379, allocations: 43.92 kB / 461.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1379, allocations: 4 kB / 461.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.138, allocations: 4 kB / 461.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.138, allocations: 7.953 kB / 461.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.138, allocations: 3.938 kB / 461.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.1385, allocations: 356 kB / 462.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.1386, allocations: 112.8 kB / 462.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1386, allocations: 0 / 462.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1388, allocations: 15.98 kB / 462.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.1389, allocations: 11.94 kB / 462.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.1389, allocations: 12 kB / 462.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1391, allocations: 168.5 kB / 462.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 3.938 kB / 462.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1394, allocations: 44 kB / 462.6 MB, free: 14.41 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 (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.0001481/0.1395, allocations: 95.25 kB / 462.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.14, allocations: 163.8 kB / 462.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.14, allocations: 0 / 462.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1402, allocations: 75.91 kB / 463 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1406, allocations: 44.34 kB / 463 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1419, allocations: 0.8166 MB / 463.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1422, allocations: 0.7442 MB / 464.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.1423, allocations: 23.44 kB / 464.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.964e-06/0.1423, allocations: 4 kB / 464.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.004775/0.1471, allocations: 2.89 MB / 467.5 MB, free: 9.496 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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 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