Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.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.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") translateModel(ThermoPower.Examples.HRB.Simulators.TestPI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 94.27 kB / 16.95 MB, free: 5.934 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.001258/0.001258, allocations: 180.2 kB / 17.84 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4029/0.4029, allocations: 48.77 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.000736/0.0007362, allocations: 15.52 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1597, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002119/0.1619, allocations: 1.341 MB / 453.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1631, allocations: 0.6481 MB / 454 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.775e-05/0.1632, allocations: 4 kB / 454.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1635, allocations: 47.81 kB / 454.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.1636, allocations: 51.8 kB / 454.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.164, allocations: 95.83 kB / 454.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1642, allocations: 135.6 kB / 454.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1644, allocations: 21.42 kB / 454.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.1645, allocations: 59.81 kB / 454.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1646, allocations: 83.66 kB / 454.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1647, allocations: 4 kB / 454.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1648, allocations: 71.92 kB / 454.6 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1649, allocations: 27.91 kB / 454.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.165, allocations: 61.52 kB / 454.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1652, allocations: 124 kB / 454.8 MB, free: 6.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1652, allocations: 4 kB / 454.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1652, allocations: 0 / 454.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1652, allocations: 4 kB / 454.8 MB, free: 6.734 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008124/0.166, allocations: 0.4903 MB / 455.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1661, allocations: 8.031 kB / 455.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1661, allocations: 15.81 kB / 455.3 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.1664, allocations: 226.5 kB / 455.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1664, allocations: 11.94 kB / 455.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1665, allocations: 11.94 kB / 455.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.1668, allocations: 173.5 kB / 455.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1669, allocations: 7.984 kB / 455.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1669, allocations: 4 kB / 455.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1669, allocations: 0 / 455.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.1671, allocations: 107.9 kB / 455.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.1678, allocations: 0.5321 MB / 456.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.1681, allocations: 154.5 kB / 456.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.1683, allocations: 108.8 kB / 456.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1684, allocations: 4 kB / 456.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.1687, allocations: 197.1 kB / 456.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.1687, allocations: 0 / 456.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008303/0.1696, allocations: 442.9 kB / 457.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1697, allocations: 93.09 kB / 457.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1699, allocations: 198.6 kB / 457.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1699, allocations: 29.7 kB / 457.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.17, allocations: 116.4 kB / 457.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.17, allocations: 39.59 kB / 457.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.1701, allocations: 4 kB / 457.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1702, allocations: 330.8 kB / 458.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1704, allocations: 87.95 kB / 458.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1706, allocations: 131.4 kB / 458.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1708, allocations: 125.6 kB / 458.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1708, allocations: 0 / 458.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005191/0.1713, allocations: 346.8 kB / 458.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.1714, allocations: 37.7 kB / 458.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1714, allocations: 4.109 kB / 458.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1714, allocations: 8 kB / 458.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1716, allocations: 31.92 kB / 458.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1716, allocations: 4 kB / 458.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1717, allocations: 27.89 kB / 458.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1717, allocations: 8 kB / 458.9 MB, free: 2.379 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: digitalPI.e_int:DISCRETE(start = digitalPI.CSstart / digitalPI.Kp * digitalPI.Ti fixed = true ) "Integrated error" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.digitalPI.firstTrigger,digitalPI.firstTrigger,$whenCondition1,digitalPI.sampleTrigger,$whenCondition2,digitalPI.e,$PRE.digitalPI.e_int,digitalPI.e_int,digitalPI.e_int_wind,digitalPI.CSwind,digitalPI.CS,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002419/0.172, allocations: 195.4 kB / 459.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.172, allocations: 23.75 kB / 459.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.1721, allocations: 17.86 kB / 459.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1721, allocations: 4 kB / 459.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1721, allocations: 0 / 459.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1721, allocations: 0 / 459.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.173, allocations: 0.7029 MB / 459.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.173, allocations: 0 / 459.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1731, allocations: 7.938 kB / 459.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1731, allocations: 0 / 459.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1731, allocations: 15.98 kB / 459.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1731, allocations: 3.938 kB / 459.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1731, allocations: 0 / 459.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.174, allocations: 0.6053 MB / 460.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.1741, allocations: 92.92 kB / 460.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.1741, allocations: 4 kB / 460.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1743, allocations: 24.03 kB / 460.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1744, allocations: 8 kB / 460.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1744, allocations: 11.98 kB / 460.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1745, allocations: 152 kB / 460.7 MB, free: 420 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1745, allocations: 0 / 460.7 MB, free: 420 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1749, allocations: 59.92 kB / 460.8 MB, free: 360 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 14 (digitalPI.sampleTrigger,$whenCondition1,$whenCondition2,digitalPI.firstTrigger,digitalPI.e,digitalPI.e_int,digitalPI.e_int_wind,digitalPI.CSwind,digitalPI.CS,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 7 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition2,digitalPI.e_int) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.0002173/0.1751, allocations: 135.1 kB / 460.9 MB, free: 212 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.1757, allocations: 311.4 kB / 461.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1757, allocations: 0 / 461.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1759, allocations: 199.3 kB / 461.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1763, allocations: 36.11 kB / 461.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.1771, allocations: 431.8 kB / 461.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1775, allocations: 0.7243 MB / 462.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1775, allocations: 11.44 kB / 462.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1775, allocations: 0 / 462.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004612/0.1821, allocations: 2.283 MB / 464.9 MB, free: 12.15 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.makefile make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.TestPI.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.Examples.HRB.Simulators.TestPICalcHelperMain.o OMCppThermoPower_ThermoPower.Examples.HRB.Simulators.TestPICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Examples.HRB.Simulators.TestPICalcHelperMain.o] Error 1