Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") translateModel(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006727/0.0006727, allocations: 93.31 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.0007294/0.0007295, allocations: 175.5 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.159/1.159, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2354/0.2354, allocations: 48.79 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.0004506/0.0004506, allocations: 13.92 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07737/0.07783, allocations: 60.27 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3253/0.4032, allocations: 166.5 MB / 0.6047 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.4077, allocations: 3.981 MB / 0.6086 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.4079, allocations: 9.562 kB / 0.6086 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.4085, allocations: 240.5 kB / 0.6088 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.4093, allocations: 0.5351 MB / 0.6093 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.4121, allocations: 1.5 MB / 0.6108 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.4134, allocations: 1.711 MB / 0.6125 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.4138, allocations: 349 kB / 0.6128 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.4142, allocations: 465.6 kB / 0.6132 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.4147, allocations: 0.5224 MB / 0.6138 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.4148, allocations: 24.72 kB / 0.6138 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.417, allocations: 1.685 MB / 0.6154 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.4173, allocations: 443.4 kB / 0.6158 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.4177, allocations: 0.5228 MB / 0.6164 GB, free: 4.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.419, allocations: 1.421 MB / 0.6177 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.419, allocations: 0 / 0.6177 GB, free: 3.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.419, allocations: 0 / 0.6177 GB, free: 3.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.419, allocations: 0 / 0.6177 GB, free: 3.402 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.001619/0.4206, allocations: 1.313 MB / 0.619 GB, free: 2.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.4207, allocations: 12.28 kB / 0.619 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006298/0.4213, allocations: 189.7 kB / 0.6192 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.4222, allocations: 0.8426 MB / 0.62 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.4223, allocations: 39.09 kB / 0.6201 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.4223, allocations: 48.75 kB / 0.6201 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.4232, allocations: 0.6118 MB / 0.6207 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4232, allocations: 3.906 kB / 0.6207 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.4232, allocations: 27.72 kB / 0.6208 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.4233, allocations: 11.09 kB / 0.6208 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.4239, allocations: 482.1 kB / 0.6212 GB, free: 1.027 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.003462/0.4273, allocations: 2.589 MB / 0.6238 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.4275, allocations: 140.2 kB / 0.6239 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.4276, allocations: 53.69 kB / 0.6239 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.4278, allocations: 127.2 kB / 0.6241 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4279, allocations: 37.44 kB / 0.6241 GB, free: 14.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4279, allocations: 0 / 0.6241 GB, free: 14.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004118/0.4283, allocations: 285.9 kB / 0.6244 GB, free: 14.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.4283, allocations: 53.62 kB / 0.6244 GB, free: 14.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.4301, allocations: 1.907 MB / 0.6263 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4302, allocations: 33.7 kB / 0.6263 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.4306, allocations: 0.5711 MB / 0.6269 GB, free: 12.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4306, allocations: 47.36 kB / 0.6269 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.4307, allocations: 33.7 kB / 0.6269 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.4308, allocations: 322 kB / 0.6273 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.431, allocations: 137 kB / 0.6274 GB, free: 12.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4312, allocations: 247.4 kB / 0.6276 GB, free: 11.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.4316, allocations: 339.7 kB / 0.6279 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4316, allocations: 0 / 0.6279 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006431/0.4322, allocations: 495.6 kB / 0.6284 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4322, allocations: 11.98 kB / 0.6284 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4323, allocations: 4 kB / 0.6284 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4323, allocations: 8 kB / 0.6284 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.4327, allocations: 117.7 kB / 0.6286 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005387/0.4333, allocations: 1.196 MB / 0.6297 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.4337, allocations: 67.27 kB / 0.6298 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.4337, allocations: 31.92 kB / 0.6298 GB, free: 9.441 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003931/0.4341, allocations: 385.6 kB / 0.6302 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4343, allocations: 118.5 kB / 0.6303 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.4347, allocations: 284.9 kB / 0.6306 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4347, allocations: 0 / 0.6306 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4347, allocations: 0 / 0.6306 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4347, allocations: 3.984 kB / 0.6306 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.4354, allocations: 0.6834 MB / 0.6312 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4354, allocations: 0 / 0.6312 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.4357, allocations: 47.91 kB / 0.6313 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4357, allocations: 4 kB / 0.6313 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4357, allocations: 3.984 kB / 0.6313 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.4362, allocations: 1.188 MB / 0.6325 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4362, allocations: 3.984 kB / 0.6325 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.4367, allocations: 408.3 kB / 0.6328 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.437, allocations: 239.7 kB / 0.6331 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/0.4371, allocations: 8 kB / 0.6331 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.4375, allocations: 24.12 kB / 0.6331 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.4375, allocations: 12 kB / 0.6331 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.4375, allocations: 15.97 kB / 0.6331 GB, free: 5.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.439, allocations: 1.354 MB / 0.6345 GB, free: 4.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.439, allocations: 3.938 kB / 0.6345 GB, free: 4.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.4396, allocations: 243.7 kB / 0.6347 GB, free: 4.289 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.4408, allocations: 0.5446 MB / 0.6352 GB, free: 3.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4413, allocations: 247.6 kB / 0.6355 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4413, allocations: 0 / 0.6355 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.4415, allocations: 77.03 kB / 0.6355 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.443, allocations: 348.7 kB / 0.6359 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.4455, allocations: 2.337 MB / 0.6381 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/0.4462, allocations: 1.094 MB / 0.6392 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.4464, allocations: 87.41 kB / 0.6393 GB, free: 15.5 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4464, allocations: 4 kB / 0.6393 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Templates: time 0.02522/0.4716, allocations: 23.34 MB / 0.6621 GB, free: 8.117 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeedCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeedCalcHelperMain.o] Error 1