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.0008984/0.0008987, allocations: 93.41 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.001072/0.001072, allocations: 174.8 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.941/1.941, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4586/0.4586, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.0007228/0.0007229, allocations: 16.81 kB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1938, allocations: 60.26 MB / 452.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.HRB.Simulators.TestPI): time 0.002749/0.1966, allocations: 1.376 MB / 454.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1982, allocations: 0.6945 MB / 454.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1984, allocations: 0 / 454.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1987, allocations: 47.81 kB / 454.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1988, allocations: 55.8 kB / 454.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.1994, allocations: 95.83 kB / 455 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.1996, allocations: 147.6 kB / 455.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1998, allocations: 21.42 kB / 455.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1999, allocations: 59.7 kB / 455.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.2001, allocations: 95.72 kB / 455.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2002, allocations: 7.938 kB / 455.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.2003, allocations: 75.92 kB / 455.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.2004, allocations: 31.84 kB / 455.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2006, allocations: 93.23 kB / 455.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2008, allocations: 136 kB / 455.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2008, allocations: 0 / 455.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.2009, allocations: 0 / 455.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.2009, allocations: 0 / 455.6 MB, free: 6.223 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.001029/0.2019, allocations: 0.4944 MB / 456.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.202, allocations: 8.031 kB / 456.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.202, allocations: 16.75 kB / 456.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.2024, allocations: 231.7 kB / 456.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2025, allocations: 4.375 kB / 456.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2025, allocations: 12.38 kB / 456.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.2029, allocations: 186.7 kB / 456.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.203, allocations: 0 / 456.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.203, allocations: 0 / 456.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.203, allocations: 4 kB / 456.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.2033, allocations: 111.8 kB / 456.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.204, allocations: 0.5359 MB / 457.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.2044, allocations: 154.4 kB / 457.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2046, allocations: 108.8 kB / 457.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.2047, allocations: 0 / 457.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.2051, allocations: 201 kB / 457.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.2051, allocations: 0 / 457.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009804/0.2061, allocations: 454.3 kB / 458.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2062, allocations: 85.11 kB / 458.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2065, allocations: 194.7 kB / 458.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2065, allocations: 33.7 kB / 458.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2067, allocations: 120.4 kB / 458.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.2067, allocations: 39.64 kB / 458.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.2068, allocations: 29.7 kB / 458.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.207, allocations: 334.8 kB / 458.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.2072, allocations: 87.95 kB / 459 MB, free: 2.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2075, allocations: 128.1 kB / 459.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2086, allocations: 0.5105 MB / 459.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2086, allocations: 3.938 kB / 459.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006064/0.2092, allocations: 339 kB / 460 MB, free: 1.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.2093, allocations: 40.81 kB / 460 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2093, allocations: 0 / 460 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2093, allocations: 4 kB / 460 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2095, allocations: 35.92 kB / 460.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2095, allocations: 8 kB / 460.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2097, allocations: 23.89 kB / 460.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.2097, allocations: 15.94 kB / 460.1 MB, free: 1.395 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.0002711/0.21, allocations: 187.3 kB / 460.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.21, allocations: 23.8 kB / 460.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.2101, allocations: 21.88 kB / 460.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2101, allocations: 0 / 460.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2101, allocations: 4 kB / 460.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2101, allocations: 0 / 460.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2112, allocations: 0.7029 MB / 461.1 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2112, allocations: 0 / 461.1 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.2113, allocations: 7.938 kB / 461.1 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2113, allocations: 3.984 kB / 461.1 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.2113, allocations: 7.984 kB / 461.1 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.2113, allocations: 3.938 kB / 461.1 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2113, allocations: 0 / 461.1 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2124, allocations: 0.5984 MB / 461.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.2125, allocations: 92.89 kB / 461.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2126, allocations: 11.98 kB / 461.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2127, allocations: 19.92 kB / 461.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.2128, allocations: 15.92 kB / 461.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.2128, allocations: 12.06 kB / 461.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.213, allocations: 152 kB / 462 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.213, allocations: 0 / 462 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.2133, allocations: 59.89 kB / 462 MB, free: 15.37 MB / 350.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.0002118/0.2135, allocations: 131.6 kB / 462.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.2141, allocations: 319.2 kB / 462.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2141, allocations: 0 / 462.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.2144, allocations: 199.6 kB / 462.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2147, allocations: 39.91 kB / 462.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.2156, allocations: 431.7 kB / 463.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.216, allocations: 0.7282 MB / 463.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.216, allocations: 15.44 kB / 463.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.216, allocations: 0 / 463.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004603/0.2206, allocations: 2.266 MB / 466.1 MB, free: 11.17 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