Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006671/0.0006671, allocations: 92.3 kB / 17.31 MB, free: 6.516 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.0006736/0.0006736, allocations: 175.8 kB / 18.21 MB, free: 5.656 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.146/1.146, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2264/0.2264, allocations: 48.78 MB / 321.5 MB, free: 11.12 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.0004621/0.0004621, allocations: 13.12 kB / 392.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.07855, allocations: 60.27 MB / 452.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3238/0.4024, allocations: 166.5 MB / 0.6047 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.4066, allocations: 3.835 MB / 0.6085 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.4068, allocations: 9.812 kB / 0.6085 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.4075, allocations: 233.6 kB / 0.6087 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.4081, allocations: 410.9 kB / 0.6091 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.4106, allocations: 1.341 MB / 0.6104 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.4118, allocations: 1.618 MB / 0.612 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.4122, allocations: 303.7 kB / 0.6123 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.4126, allocations: 403.4 kB / 0.6126 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.413, allocations: 426.9 kB / 0.613 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.372e-05/0.413, allocations: 25 kB / 0.6131 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.4152, allocations: 1.687 MB / 0.6147 GB, free: 5.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.4154, allocations: 287.9 kB / 0.615 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.4158, allocations: 401.9 kB / 0.6154 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4168, allocations: 1.181 MB / 0.6165 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4168, allocations: 4 kB / 0.6165 GB, free: 4.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4168, allocations: 0 / 0.6165 GB, free: 4.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4168, allocations: 3.938 kB / 0.6165 GB, free: 4.113 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001265/0.4181, allocations: 0.963 MB / 0.6175 GB, free: 3.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4181, allocations: 8.062 kB / 0.6175 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.4187, allocations: 142.3 kB / 0.6176 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.4193, allocations: 0.5069 MB / 0.6181 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4193, allocations: 39.75 kB / 0.6182 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.4194, allocations: 52.33 kB / 0.6182 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.4202, allocations: 0.6147 MB / 0.6188 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4203, allocations: 5.688 kB / 0.6188 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.4203, allocations: 30.22 kB / 0.6188 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4203, allocations: 13.75 kB / 0.6189 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.4209, allocations: 471.2 kB / 0.6193 GB, free: 2.199 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.4242, allocations: 2.318 MB / 0.6216 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4244, allocations: 129.9 kB / 0.6217 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.4245, allocations: 60.2 kB / 0.6217 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.4247, allocations: 123 kB / 0.6219 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4247, allocations: 37.44 kB / 0.6219 GB, free: 56 kB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4247, allocations: 0 / 0.6219 GB, free: 56 kB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003892/0.4251, allocations: 242 kB / 0.6221 GB, free: 15.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.4252, allocations: 51.41 kB / 0.6222 GB, free: 15.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/0.4261, allocations: 0.9848 MB / 0.6231 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4261, allocations: 28.48 kB / 0.6232 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.4264, allocations: 390.4 kB / 0.6235 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.4264, allocations: 58.91 kB / 0.6236 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.4265, allocations: 36.58 kB / 0.6236 GB, free: 14.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.4266, allocations: 328.8 kB / 0.6239 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4268, allocations: 129.2 kB / 0.6241 GB, free: 14.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.427, allocations: 253.3 kB / 0.6243 GB, free: 14.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.4274, allocations: 342.5 kB / 0.6246 GB, free: 13.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4274, allocations: 2.938 kB / 0.6246 GB, free: 13.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005943/0.428, allocations: 467.4 kB / 0.6251 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.428, allocations: 9.125 kB / 0.6251 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.428, allocations: 5.719 kB / 0.6251 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.428, allocations: 16.06 kB / 0.6251 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.4285, allocations: 109.8 kB / 0.6252 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003137/0.4288, allocations: 0.6101 MB / 0.6258 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.4292, allocations: 80.25 kB / 0.6259 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4292, allocations: 20.66 kB / 0.6259 GB, free: 13.02 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (48): * Single equations (assignments): 47 * 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 0.0002594/0.4295, allocations: 251 kB / 0.6261 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.4296, allocations: 71.12 kB / 0.6262 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.4299, allocations: 237.4 kB / 0.6264 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.43, allocations: 0 / 0.6264 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.43, allocations: 7.984 kB / 0.6265 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.43, allocations: 0 / 0.6265 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.4309, allocations: 0.7973 MB / 0.6272 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4309, allocations: 2.844 kB / 0.6272 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4311, allocations: 41.59 kB / 0.6273 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4311, allocations: 6.875 kB / 0.6273 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4311, allocations: 6.938 kB / 0.6273 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002571/0.4314, allocations: 0.5997 MB / 0.6279 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4314, allocations: 8.031 kB / 0.6279 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.4318, allocations: 381.3 kB / 0.6282 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.432, allocations: 180.1 kB / 0.6284 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.4321, allocations: 8 kB / 0.6284 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.4324, allocations: 11.98 kB / 0.6284 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4325, allocations: 15.98 kB / 0.6284 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.4325, allocations: 19.97 kB / 0.6285 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006983/0.4332, allocations: 0.6943 MB / 0.6291 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4332, allocations: 0 / 0.6291 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.4338, allocations: 219.8 kB / 0.6294 GB, free: 9.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (ConstantSpeed1.phi) * 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 (16): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.001222/0.435, allocations: 0.5357 MB / 0.6299 GB, free: 9.266 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4355, allocations: 251.8 kB / 0.6301 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4355, allocations: 0 / 0.6301 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4356, allocations: 67.92 kB / 0.6302 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4371, allocations: 308.4 kB / 0.6305 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4386, allocations: 1.475 MB / 0.6319 GB, free: 7.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.439, allocations: 0.9196 MB / 0.6328 GB, free: 6.191 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.4391, allocations: 59.42 kB / 0.6329 GB, free: 6.133 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4391, allocations: 0 / 0.6329 GB, free: 6.133 MB / 446.1 MB Notification: Performance of Templates: time 0.01538/0.4545, allocations: 14.64 MB / 0.6472 GB, free: 7.461 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.GasComponents.TestGasTurbineStodolaCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodolaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodolaCalcHelperMain.o] Error 1