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.001206/0.001207, allocations: 110.4 kB / 17.16 MB, free: 6.082 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.001505/0.001505, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.921/1.921, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4016/0.4016, allocations: 48.84 MB / 320.1 MB, free: 11.3 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.001491/0.001491, allocations: 62.11 kB / 390 MB, free: 49.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1826, allocations: 59.16 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.6198/0.8025, allocations: 168.7 MB / 0.6034 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.8092, allocations: 4.036 MB / 0.6073 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008186/0.8101, allocations: 13.69 kB / 0.6073 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.8113, allocations: 244.6 kB / 0.6076 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.8125, allocations: 0.5327 MB / 0.6081 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.817, allocations: 1.49 MB / 0.6095 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.8193, allocations: 1.72 MB / 0.6112 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.8199, allocations: 350 kB / 0.6116 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.8207, allocations: 465.4 kB / 0.612 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006758/0.8214, allocations: 0.5269 MB / 0.6125 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.8215, allocations: 35.75 kB / 0.6125 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.8255, allocations: 1.687 MB / 0.6142 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.8261, allocations: 445.3 kB / 0.6146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.8268, allocations: 0.4986 MB / 0.6151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.8292, allocations: 1.433 MB / 0.6165 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8292, allocations: 0 / 0.6165 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8293, allocations: 0 / 0.6165 GB, free: 14.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.8293, allocations: 0 / 0.6165 GB, free: 14.22 MB / 446.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.002617/0.8319, allocations: 1.529 MB / 0.618 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.832, allocations: 9.969 kB / 0.618 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.8328, allocations: 184.2 kB / 0.6182 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.8342, allocations: 0.8436 MB / 0.619 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.8343, allocations: 40.78 kB / 0.619 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.8344, allocations: 52.83 kB / 0.6191 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.8356, allocations: 0.6167 MB / 0.6197 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.8356, allocations: 0 / 0.6197 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.8357, allocations: 25.31 kB / 0.6197 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.8357, allocations: 12.75 kB / 0.6197 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/0.8366, allocations: 471.4 kB / 0.6202 GB, free: 11.71 MB / 446.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.004729/0.8413, allocations: 2.611 MB / 0.6227 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.8416, allocations: 134.6 kB / 0.6229 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.8417, allocations: 56.78 kB / 0.6229 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.8421, allocations: 129 kB / 0.623 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.8421, allocations: 34.56 kB / 0.6231 GB, free: 8.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.455e-06/0.8421, allocations: 0 / 0.6231 GB, free: 8.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007377/0.8429, allocations: 276.2 kB / 0.6233 GB, free: 8.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.8429, allocations: 55.39 kB / 0.6234 GB, free: 8.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.8455, allocations: 1.902 MB / 0.6252 GB, free: 6.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.8456, allocations: 33.7 kB / 0.6253 GB, free: 6.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.8461, allocations: 0.5788 MB / 0.6258 GB, free: 5.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.8462, allocations: 55.3 kB / 0.6259 GB, free: 5.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.8464, allocations: 77.59 kB / 0.626 GB, free: 5.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8466, allocations: 322 kB / 0.6263 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.8468, allocations: 125.5 kB / 0.6264 GB, free: 5.156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.8471, allocations: 245.2 kB / 0.6266 GB, free: 4.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.8476, allocations: 345.6 kB / 0.627 GB, free: 4.453 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8476, allocations: 0 / 0.627 GB, free: 4.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008824/0.8485, allocations: 0.4883 MB / 0.6274 GB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.8486, allocations: 4.062 kB / 0.6274 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.8486, allocations: 12 kB / 0.6275 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.8486, allocations: 7.938 kB / 0.6275 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.8492, allocations: 117.5 kB / 0.6276 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008804/0.8501, allocations: 1.197 MB / 0.6287 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.8506, allocations: 71.25 kB / 0.6288 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.8507, allocations: 27.94 kB / 0.6288 GB, free: 2.48 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.000552/0.8513, allocations: 373.6 kB / 0.6292 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.8515, allocations: 122.5 kB / 0.6293 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004952/0.852, allocations: 277.8 kB / 0.6296 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.852, allocations: 8.078 kB / 0.6296 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.852, allocations: 0 / 0.6296 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.852, allocations: 0 / 0.6296 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/0.8529, allocations: 0.6756 MB / 0.6302 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.853, allocations: 0.5 kB / 0.6302 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.8532, allocations: 54.64 kB / 0.6303 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8533, allocations: 0 / 0.6303 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.8533, allocations: 0 / 0.6303 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000831/0.8541, allocations: 1.188 MB / 0.6315 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8541, allocations: 0 / 0.6315 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.8547, allocations: 416.9 kB / 0.6319 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.855, allocations: 235.8 kB / 0.6321 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.8552, allocations: 8 kB / 0.6321 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.8556, allocations: 19.92 kB / 0.6321 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.8556, allocations: 11.98 kB / 0.6321 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.8557, allocations: 11.98 kB / 0.6321 GB, free: 14.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.8577, allocations: 1.358 MB / 0.6335 GB, free: 13.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8577, allocations: 0 / 0.6335 GB, free: 13.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008839/0.8586, allocations: 235.8 kB / 0.6337 GB, free: 13.37 MB / 462.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.001533/0.8601, allocations: 0.5412 MB / 0.6342 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.8608, allocations: 248.3 kB / 0.6344 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.8608, allocations: 8.375 kB / 0.6344 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.861, allocations: 75.91 kB / 0.6345 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.8626, allocations: 360.6 kB / 0.6349 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.8663, allocations: 2.273 MB / 0.6371 GB, free: 9.832 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.8676, allocations: 1.102 MB / 0.6382 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.8679, allocations: 83.42 kB / 0.6382 GB, free: 8.621 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8679, allocations: 0 / 0.6382 GB, free: 8.621 MB / 462.1 MB Notification: Performance of Templates: time 0.04774/0.9156, allocations: 23.5 MB / 0.6612 GB, free: 1.086 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