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.001231/0.001231, allocations: 108.3 kB / 17.16 MB, free: 6.324 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.001108/0.001108, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.871/1.871, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3847/0.3847, allocations: 48.83 MB / 320.1 MB, free: 11.32 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.001404/0.001404, allocations: 62.36 kB / 390 MB, free: 49.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1394, allocations: 59.17 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.003758/0.1432, allocations: 1.707 MB / 450.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1447, allocations: 0.71 MB / 451.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.1448, allocations: 4 kB / 451.6 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1451, allocations: 47.81 kB / 451.6 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/0.1452, allocations: 51.8 kB / 451.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.1457, allocations: 95.83 kB / 451.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.146, allocations: 147.6 kB / 451.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1461, allocations: 21.44 kB / 451.9 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.1462, allocations: 71.64 kB / 452 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1464, allocations: 87.7 kB / 452.1 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1464, allocations: 4 kB / 452.1 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1466, allocations: 79.92 kB / 452.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.1467, allocations: 35.84 kB / 452.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.1468, allocations: 71.58 kB / 452.3 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.147, allocations: 132 kB / 452.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.147, allocations: 0 / 452.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.147, allocations: 0 / 452.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.147, allocations: 0 / 452.4 MB, free: 6.98 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.0009778/0.148, allocations: 0.5254 MB / 452.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1481, allocations: 8.031 kB / 453 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.1481, allocations: 16.75 kB / 453 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1485, allocations: 227.8 kB / 453.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1485, allocations: 8.375 kB / 453.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1485, allocations: 8.375 kB / 453.2 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.149, allocations: 182.4 kB / 453.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.149, allocations: 0 / 453.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.149, allocations: 8 kB / 453.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.149, allocations: 7.938 kB / 453.4 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1493, allocations: 99.88 kB / 453.5 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.1501, allocations: 0.5243 MB / 454 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.1505, allocations: 142.5 kB / 454.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1507, allocations: 100.8 kB / 454.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1508, allocations: 4 kB / 454.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.1513, allocations: 185 kB / 454.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/0.1513, allocations: 0 / 454.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009248/0.1522, allocations: 423 kB / 454.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.1524, allocations: 85.05 kB / 454.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1526, allocations: 198.8 kB / 455.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.1527, allocations: 33.7 kB / 455.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1528, allocations: 120.3 kB / 455.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.1528, allocations: 43.64 kB / 455.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/0.1529, allocations: 37.7 kB / 455.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1531, allocations: 334.8 kB / 455.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.1533, allocations: 83.94 kB / 455.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1536, allocations: 120.1 kB / 455.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1547, allocations: 486 kB / 456.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1547, allocations: 4 kB / 456.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006194/0.1553, allocations: 322.9 kB / 456.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.1554, allocations: 41.69 kB / 456.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1554, allocations: 0 / 456.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1554, allocations: 7.938 kB / 456.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1556, allocations: 32.05 kB / 456.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1556, allocations: 3.984 kB / 456.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1557, allocations: 19.91 kB / 456.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1558, allocations: 15.92 kB / 456.8 MB, free: 2.254 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 (digitalPI.firstTrigger,$PRE.digitalPI.firstTrigger,digitalPI.sampleTrigger,$whenCondition1,$PRE.digitalPI.e_int,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,digitalPI.CS,digitalPI.CSwind,digitalPI.e_int_wind,digitalPI.e_int,digitalPI.e,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.1561, allocations: 179.5 kB / 457 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1561, allocations: 15.81 kB / 457 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.1562, allocations: 21.86 kB / 457 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1562, allocations: 7.984 kB / 457 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1562, allocations: 0 / 457 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1562, allocations: 4 kB / 457 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1573, allocations: 0.6904 MB / 457.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1573, allocations: 0 / 457.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.1574, allocations: 7.984 kB / 457.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1574, allocations: 0 / 457.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1574, allocations: 12 kB / 457.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1575, allocations: 3.938 kB / 457.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1575, allocations: 4 kB / 457.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1585, allocations: 0.5632 MB / 458.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.1586, allocations: 104.9 kB / 458.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1586, allocations: 12 kB / 458.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.1588, allocations: 15.92 kB / 458.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.1589, allocations: 15.92 kB / 458.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1589, allocations: 8 kB / 458.5 MB, free: 496 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1591, allocations: 156 kB / 458.6 MB, free: 340 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1591, allocations: 0 / 458.6 MB, free: 340 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003398/0.1594, allocations: 48 kB / 458.7 MB, free: 292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002485/0.1597, allocations: 135.2 kB / 458.8 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.1603, allocations: 303.2 kB / 459.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1603, allocations: 0 / 459.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.1606, allocations: 187.6 kB / 459.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.161, allocations: 31.98 kB / 459.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1621, allocations: 432.3 kB / 459.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1626, allocations: 0.7281 MB / 460.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1626, allocations: 15.44 kB / 460.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1627, allocations: 3.938 kB / 460.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Templates: time 0.005343/0.168, allocations: 2.304 MB / 462.8 MB, free: 12.07 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++ -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.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