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.0006679/0.0006682, 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.0007149/0.000715, 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.138/1.138, 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.227/0.227, allocations: 48.79 MB / 321.5 MB, free: 11.11 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.0004328/0.0004328, allocations: 13.33 kB / 392.5 MB, free: 50.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07655, allocations: 60.27 MB / 452.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3028/0.3794, allocations: 142.9 MB / 0.5817 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.3824, allocations: 2.276 MB / 0.5839 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.3827, allocations: 14.59 kB / 0.5839 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.3833, allocations: 205.7 kB / 0.5841 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3845, allocations: 0.9062 MB / 0.585 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.386, allocations: 0.9387 MB / 0.5859 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3873, allocations: 1.973 MB / 0.5878 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.3878, allocations: 472.6 kB / 0.5883 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.3884, allocations: 0.6238 MB / 0.5889 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006934/0.3891, allocations: 0.8001 MB / 0.5897 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.3892, allocations: 36.59 kB / 0.5897 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.3903, allocations: 1.114 MB / 0.5908 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.3904, allocations: 174 kB / 0.591 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.3908, allocations: 407.2 kB / 0.5914 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.3915, allocations: 0.9032 MB / 0.5922 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3915, allocations: 0 / 0.5922 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3915, allocations: 0 / 0.5922 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3915, allocations: 0 / 0.5922 GB, free: 11.8 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.001446/0.3929, allocations: 0.9164 MB / 0.5931 GB, free: 11.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.393, allocations: 8.031 kB / 0.5931 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004868/0.3935, allocations: 99.5 kB / 0.5932 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.394, allocations: 465.1 kB / 0.5937 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.3941, allocations: 79.88 kB / 0.5938 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.3942, allocations: 59.28 kB / 0.5938 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3952, allocations: 0.7308 MB / 0.5945 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3953, allocations: 2.938 kB / 0.5945 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.3953, allocations: 26.78 kB / 0.5946 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3954, allocations: 14.19 kB / 0.5946 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009948/0.3964, allocations: 0.6224 MB / 0.5952 GB, free: 10.32 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.003394/0.3998, allocations: 2.875 MB / 0.598 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.4005, allocations: 441.1 kB / 0.5984 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.4009, allocations: 249.1 kB / 0.5986 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.4023, allocations: 1.07 MB / 0.5997 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.4023, allocations: 45.16 kB / 0.5997 GB, free: 7.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.443e-06/0.4023, allocations: 0 / 0.5997 GB, free: 7.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.005674/0.408, allocations: 2.508 MB / 0.6022 GB, free: 5.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4081, allocations: 113 kB / 0.6023 GB, free: 5.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.4086, allocations: 0.5168 MB / 0.6028 GB, free: 5.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.4087, allocations: 40.94 kB / 0.6028 GB, free: 5.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4088, allocations: 312.5 kB / 0.6031 GB, free: 4.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.409, allocations: 173.3 kB / 0.6033 GB, free: 4.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.4091, allocations: 61.72 kB / 0.6033 GB, free: 4.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4092, allocations: 376.8 kB / 0.6037 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.4097, allocations: 245.2 kB / 0.6039 GB, free: 4.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/0.4102, allocations: 435.9 kB / 0.6044 GB, free: 3.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/0.4111, allocations: 0.6161 MB / 0.605 GB, free: 3.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4111, allocations: 2.688 kB / 0.605 GB, free: 3.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00148/0.4126, allocations: 0.901 MB / 0.6058 GB, free: 2.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4128, allocations: 252.9 kB / 0.6061 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4128, allocations: 5.344 kB / 0.6061 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.4143, allocations: 491.5 kB / 0.6066 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.4148, allocations: 137.3 kB / 0.6067 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.416, allocations: 1.466 MB / 0.6081 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.4166, allocations: 86.59 kB / 0.6082 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.4166, allocations: 76.92 kB / 0.6083 GB, free: 1.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/0.4167, allocations: 3.25 kB / 0.6083 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.4181, allocations: 0.7781 MB / 0.609 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4181, allocations: 5 kB / 0.609 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.4186, allocations: 326.3 kB / 0.6094 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.4191, allocations: 151 kB / 0.6095 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.4214, allocations: 2.477 MB / 0.6119 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.4219, allocations: 90.41 kB / 0.612 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.422, allocations: 26.38 kB / 0.612 GB, free: 14.23 MB / 446.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.mode,$PRE.Clutch1.mode,Clutch1.locked,Clutch1.startBackward,$PRE.Clutch1.startBackward,Clutch1.startForward,$PRE.Clutch1.startForward,Clutch1.free) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.4223, allocations: 282 kB / 0.6123 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4224, allocations: 59.59 kB / 0.6124 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.4239, allocations: 0.753 MB / 0.6131 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.4239, allocations: 5.781 kB / 0.6131 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4239, allocations: 0 / 0.6131 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4239, allocations: 3.984 kB / 0.6131 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.4261, allocations: 1.423 MB / 0.6145 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4261, allocations: 6.781 kB / 0.6145 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.4265, allocations: 85.44 kB / 0.6146 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.4276, allocations: 432.7 kB / 0.615 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.4276, allocations: 22.86 kB / 0.615 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.4288, allocations: 1.418 MB / 0.6164 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4288, allocations: 3.938 kB / 0.6164 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4306, allocations: 1.038 MB / 0.6174 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.4308, allocations: 204.3 kB / 0.6176 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.4309, allocations: 12 kB / 0.6176 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.4315, allocations: 71.94 kB / 0.6177 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.4316, allocations: 76.25 kB / 0.6178 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/0.4317, allocations: 75.83 kB / 0.6178 GB, free: 9.504 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00036/0.4321, allocations: 362.8 kB / 0.6182 GB, free: 9.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4321, allocations: 0 / 0.6182 GB, free: 9.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4332, allocations: 395.9 kB / 0.6186 GB, free: 8.766 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005045/0.4337, allocations: 236.5 kB / 0.6188 GB, free: 8.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4358, allocations: 1.142 MB / 0.6199 GB, free: 7.383 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4358, allocations: 3.938 kB / 0.6199 GB, free: 7.379 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.4365, allocations: 319.9 kB / 0.6202 GB, free: 7.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.4377, allocations: 232.8 kB / 0.6204 GB, free: 6.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.4395, allocations: 1.607 MB / 0.622 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4399, allocations: 0.8837 MB / 0.6229 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4401, allocations: 55.42 kB / 0.6229 GB, free: 4.242 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4401, allocations: 0 / 0.6229 GB, free: 4.242 MB / 446.1 MB Notification: Performance of Templates: time 0.01481/0.4549, allocations: 14.38 MB / 0.637 GB, free: 5.844 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.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.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