Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.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.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 94.59 kB / 16.96 MB, free: 6.41 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.0009226/0.0009226, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.982/1.982, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4193/0.4193, allocations: 48.77 MB / 321.1 MB, free: 11.22 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" 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.0005968/0.0005972, allocations: 17.78 kB / 391.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1545, allocations: 60.27 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.6004/0.755, allocations: 133.3 MB / 0.5716 GB, free: 132 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005626/0.7607, allocations: 2.163 MB / 0.5737 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006956/0.7614, allocations: 10.75 kB / 0.5737 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.7622, allocations: 204.5 kB / 0.5739 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.7647, allocations: 0.8999 MB / 0.5748 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.7672, allocations: 0.8339 MB / 0.5756 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.7696, allocations: 1.694 MB / 0.5773 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.7703, allocations: 458.8 kB / 0.5777 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.7714, allocations: 0.6253 MB / 0.5783 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.7725, allocations: 0.7483 MB / 0.5791 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.7726, allocations: 35.75 kB / 0.5791 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.7744, allocations: 0.8849 MB / 0.58 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.7747, allocations: 176.2 kB / 0.5801 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.7748, allocations: 159.5 kB / 0.5803 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.7758, allocations: 0.8721 MB / 0.5811 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.7758, allocations: 0 / 0.5811 GB, free: 13.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.7759, allocations: 0 / 0.5811 GB, free: 13.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.7759, allocations: 0 / 0.5811 GB, free: 13.69 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001852/0.7777, allocations: 0.9252 MB / 0.582 GB, free: 13.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7778, allocations: 10.97 kB / 0.5821 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.7786, allocations: 98.69 kB / 0.5821 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.7793, allocations: 460.5 kB / 0.5826 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.7795, allocations: 77.02 kB / 0.5827 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.7796, allocations: 57.11 kB / 0.5827 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.7815, allocations: 0.7247 MB / 0.5834 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.7815, allocations: 6.906 kB / 0.5834 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.7816, allocations: 23.5 kB / 0.5834 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.7817, allocations: 13.31 kB / 0.5835 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.7833, allocations: 0.6193 MB / 0.5841 GB, free: 12.22 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.006383/0.7897, allocations: 2.875 MB / 0.5869 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.791, allocations: 429.4 kB / 0.5873 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.7916, allocations: 249.7 kB / 0.5875 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002166/0.7938, allocations: 1.081 MB / 0.5886 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.7939, allocations: 41.16 kB / 0.5886 GB, free: 9.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 3.396e-06/0.7939, allocations: 0 / 0.5886 GB, free: 9.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.008182/0.8021, allocations: 2.48 MB / 0.591 GB, free: 8.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.8023, allocations: 115.2 kB / 0.5911 GB, free: 8.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.8032, allocations: 0.5102 MB / 0.5916 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.8033, allocations: 41.11 kB / 0.5917 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.8037, allocations: 311.8 kB / 0.592 GB, free: 7.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.8039, allocations: 183.4 kB / 0.5922 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.804, allocations: 14.78 kB / 0.5922 GB, free: 7.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.8042, allocations: 365.3 kB / 0.5925 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.8049, allocations: 243.9 kB / 0.5928 GB, free: 7.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.8058, allocations: 434.5 kB / 0.5932 GB, free: 6.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.8066, allocations: 257.1 kB / 0.5934 GB, free: 6.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/0.8066, allocations: 7.266 kB / 0.5934 GB, free: 6.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002813/0.8094, allocations: 0.887 MB / 0.5943 GB, free: 6.617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003183/0.8097, allocations: 254.5 kB / 0.5945 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/0.8098, allocations: 8.953 kB / 0.5945 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/0.8119, allocations: 490.1 kB / 0.595 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.8125, allocations: 132.4 kB / 0.5951 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.8142, allocations: 1.456 MB / 0.5966 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8153, allocations: 85.64 kB / 0.5966 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.8154, allocations: 78.23 kB / 0.5967 GB, free: 5.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8155, allocations: 3 kB / 0.5967 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/0.818, allocations: 0.7671 MB / 0.5975 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.818, allocations: 9.547 kB / 0.5975 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008902/0.8189, allocations: 324.7 kB / 0.5978 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/0.8199, allocations: 154.6 kB / 0.5979 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.8241, allocations: 2.5 MB / 0.6004 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/0.8251, allocations: 78.47 kB / 0.6004 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/0.8252, allocations: 31.81 kB / 0.6005 GB, free: 2.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (Clutch1.free,$PRE.Clutch1.startForward,Clutch1.startForward,$PRE.Clutch1.startBackward,Clutch1.startBackward,Clutch1.locked,$PRE.Clutch1.mode,Clutch1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006583/0.8259, allocations: 271.1 kB / 0.6007 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.8262, allocations: 64.12 kB / 0.6008 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.8287, allocations: 0.7459 MB / 0.6015 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8287, allocations: 2.938 kB / 0.6015 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.8287, allocations: 5.844 kB / 0.6015 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8287, allocations: 2.75 kB / 0.6015 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.8333, allocations: 1.427 MB / 0.6029 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.8333, allocations: 0 / 0.6029 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.8339, allocations: 80 kB / 0.603 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/0.8356, allocations: 435.1 kB / 0.6034 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.8357, allocations: 23.34 kB / 0.6034 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.8378, allocations: 1.418 MB / 0.6048 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8378, allocations: 0 / 0.6048 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.8411, allocations: 1.038 MB / 0.6058 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008359/0.842, allocations: 205 kB / 0.606 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.8423, allocations: 14.12 kB / 0.606 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8433, allocations: 75.56 kB / 0.6061 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.8437, allocations: 80.09 kB / 0.6062 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/0.8439, allocations: 76.45 kB / 0.6063 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.845, allocations: 361.5 kB / 0.6066 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.845, allocations: 0 / 0.6066 GB, free: 15.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002766/0.8478, allocations: 391.5 kB / 0.607 GB, free: 15.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ConstantSpeed1.phi,Clutch1.phi_rel,Clutch1.w_rel) * Number of discrete variables: 5 (Clutch1.free,Clutch1.startForward,Clutch1.startBackward,Clutch1.locked,Clutch1.mode) * Number of discrete states: 3 (Clutch1.mode,Clutch1.startBackward,Clutch1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.8488, allocations: 220 kB / 0.6072 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.8528, allocations: 1.145 MB / 0.6083 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8528, allocations: 0 / 0.6083 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.8539, allocations: 320 kB / 0.6086 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.856, allocations: 225.5 kB / 0.6088 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.8604, allocations: 1.54 MB / 0.6103 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/0.8613, allocations: 0.8809 MB / 0.6112 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.8617, allocations: 55.03 kB / 0.6113 GB, free: 13.31 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8617, allocations: 1.859 kB / 0.6113 GB, free: 13.31 MB / 446.1 MB Notification: Performance of Templates: time 0.02924/0.8909, allocations: 14.36 MB / 0.6253 GB, free: 15.23 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.GasComponents.TestFanMechCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestFanMechCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestFanMechCalcHelperMain.o] Error 1