Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008482, allocations: 92.27 kB / 16.96 MB, free: 6.461 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.0009842/0.0009843, allocations: 178.8 kB / 17.84 MB, free: 6 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.879/1.879, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3905/0.3905, allocations: 48.76 MB / 321.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.0006077/0.0006077, allocations: 11.72 kB / 391.8 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1558, allocations: 60.26 MB / 452.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.6048/0.7606, allocations: 155.2 MB / 0.593 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006215/0.7669, allocations: 3.678 MB / 0.5966 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005729/0.7676, allocations: 10.41 kB / 0.5966 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.7684, allocations: 185.7 kB / 0.5968 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.7697, allocations: 0.5344 MB / 0.5973 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.774, allocations: 1.221 MB / 0.5985 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.7763, allocations: 1.464 MB / 0.5999 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.7769, allocations: 341.1 kB / 0.6003 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/0.7777, allocations: 467.2 kB / 0.6007 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.7784, allocations: 0.4946 MB / 0.6012 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.7784, allocations: 27.56 kB / 0.6012 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.7801, allocations: 0.5436 MB / 0.6018 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.7806, allocations: 453.8 kB / 0.6022 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.7808, allocations: 218 kB / 0.6024 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.7821, allocations: 1.137 MB / 0.6035 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.7822, allocations: 0 / 0.6035 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7822, allocations: 2.25 kB / 0.6035 GB, free: 10.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.7822, allocations: 0 / 0.6035 GB, free: 10.31 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002077/0.7843, allocations: 1.271 MB / 0.6047 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7843, allocations: 11.31 kB / 0.6048 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.785, allocations: 186.2 kB / 0.6049 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.7863, allocations: 0.8028 MB / 0.6057 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.7863, allocations: 37.31 kB / 0.6058 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.7864, allocations: 47.53 kB / 0.6058 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.7874, allocations: 0.626 MB / 0.6064 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7875, allocations: 0 / 0.6064 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.7875, allocations: 23.44 kB / 0.6064 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.7876, allocations: 18.94 kB / 0.6065 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.7883, allocations: 492.6 kB / 0.6069 GB, free: 8.586 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.004348/0.7926, allocations: 2.57 MB / 0.6094 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.793, allocations: 192.6 kB / 0.6096 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.7931, allocations: 88.64 kB / 0.6097 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.7934, allocations: 111.8 kB / 0.6098 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.7935, allocations: 39.59 kB / 0.6098 GB, free: 6.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.7935, allocations: 0 / 0.6098 GB, free: 6.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007337/0.7942, allocations: 352.1 kB / 0.6102 GB, free: 6.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.7943, allocations: 58.17 kB / 0.6102 GB, free: 6.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.7966, allocations: 1.878 MB / 0.6121 GB, free: 6.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.7967, allocations: 32.05 kB / 0.6121 GB, free: 6.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/0.7972, allocations: 0.5699 MB / 0.6127 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.7973, allocations: 74.41 kB / 0.6127 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.7973, allocations: 10.22 kB / 0.6127 GB, free: 5.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7975, allocations: 318.6 kB / 0.613 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.7977, allocations: 140.8 kB / 0.6132 GB, free: 5.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.798, allocations: 230.4 kB / 0.6134 GB, free: 5.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.7983, allocations: 149.4 kB / 0.6135 GB, free: 5.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7983, allocations: 0 / 0.6135 GB, free: 5.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008615/0.7992, allocations: 0.5007 MB / 0.614 GB, free: 5.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.7992, allocations: 5.219 kB / 0.614 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.7992, allocations: 5.469 kB / 0.614 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.7992, allocations: 7.5 kB / 0.614 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.7999, allocations: 126.1 kB / 0.6142 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8012, allocations: 1.789 MB / 0.6159 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.8017, allocations: 70.17 kB / 0.616 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.8018, allocations: 19.28 kB / 0.616 GB, free: 3.387 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006401/0.8024, allocations: 386.2 kB / 0.6164 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8026, allocations: 119.8 kB / 0.6165 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.8032, allocations: 343 kB / 0.6168 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8032, allocations: 6.75 kB / 0.6168 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.8032, allocations: 0 / 0.6168 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8032, allocations: 3.984 kB / 0.6168 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.8042, allocations: 0.7084 MB / 0.6175 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8042, allocations: 4 kB / 0.6175 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.8046, allocations: 73.05 kB / 0.6176 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8046, allocations: 48 / 0.6176 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.8046, allocations: 8.766 kB / 0.6176 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.8057, allocations: 1.782 MB / 0.6193 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8057, allocations: 0 / 0.6193 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.8063, allocations: 0.4933 MB / 0.6198 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.8067, allocations: 251.5 kB / 0.6201 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8068, allocations: 3.5 kB / 0.6201 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.8072, allocations: 27.08 kB / 0.6201 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.8073, allocations: 15.81 kB / 0.6201 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.8073, allocations: 17.95 kB / 0.6201 GB, free: 420 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.8094, allocations: 1.344 MB / 0.6214 GB, free: 104 kB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8094, allocations: 0 / 0.6214 GB, free: 104 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009266/0.8103, allocations: 229.4 kB / 0.6216 GB, free: 80 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.8118, allocations: 496.5 kB / 0.6221 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.8127, allocations: 283.2 kB / 0.6224 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.8127, allocations: 2.625 kB / 0.6224 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.813, allocations: 113.6 kB / 0.6225 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.8147, allocations: 369.4 kB / 0.6229 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.8184, allocations: 2.339 MB / 0.6251 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.8193, allocations: 1.103 MB / 0.6262 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.8196, allocations: 82.73 kB / 0.6263 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.8196, allocations: 3.938 kB / 0.6263 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Templates: time 0.04467/0.8643, allocations: 26.66 MB / 0.6523 GB, free: 1.629 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.TestCompressorInertiaCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertiaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertiaCalcHelperMain.o] Error 1