Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") translateModel(ThermoPower.Test.GasComponents.TestGasValveOpPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009959, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.001302/0.001302, allocations: 181.5 kB / 17.84 MB, free: 5.617 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.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3568/0.3568, allocations: 48.77 MB / 321.1 MB, free: 11.22 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.0007984/0.0007987, allocations: 15.27 kB / 391.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.177, allocations: 60.27 MB / 452.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValveOpPoint): time 0.6231/0.8002, allocations: 192.4 MB / 0.6294 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.8068, allocations: 2.937 MB / 0.6323 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.8081, allocations: 18.34 kB / 0.6323 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.8098, allocations: 436.6 kB / 0.6327 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.8122, allocations: 0.8512 MB / 0.6335 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.8162, allocations: 1.155 MB / 0.6347 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005638/0.8218, allocations: 3.309 MB / 0.6379 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.8237, allocations: 0.8065 MB / 0.6387 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.8265, allocations: 1.014 MB / 0.6397 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.8283, allocations: 1.036 MB / 0.6407 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.8285, allocations: 68 kB / 0.6407 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.8318, allocations: 1.252 MB / 0.642 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000816/0.8326, allocations: 0.7637 MB / 0.6427 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.8332, allocations: 377 kB / 0.6431 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.8359, allocations: 2.128 MB / 0.6451 GB, free: 9.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.836, allocations: 0 / 0.6451 GB, free: 9.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.836, allocations: 3.938 kB / 0.6452 GB, free: 9.883 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.836, allocations: 0 / 0.6452 GB, free: 9.883 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003801/0.8398, allocations: 1.775 MB / 0.6469 GB, free: 8.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8399, allocations: 8.031 kB / 0.6469 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.8412, allocations: 329.8 kB / 0.6472 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.8427, allocations: 0.8301 MB / 0.648 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.8428, allocations: 110.7 kB / 0.6481 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.843, allocations: 132 kB / 0.6482 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.8463, allocations: 1.841 MB / 0.65 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.8463, allocations: 0 / 0.65 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.8465, allocations: 65.8 kB / 0.6501 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.8465, allocations: 32 kB / 0.6501 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.8492, allocations: 1.569 MB / 0.6517 GB, free: 3.074 MB / 462.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.01043/0.8596, allocations: 5.909 MB / 0.6574 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.8628, allocations: 1.185 MB / 0.6586 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007141/0.8636, allocations: 357.5 kB / 0.6589 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.8636, allocations: 27.92 kB / 0.659 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/0.8637, allocations: 55.47 kB / 0.659 GB, free: 11.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 3.096e-06/0.8637, allocations: 0 / 0.659 GB, free: 11.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.007571/0.8713, allocations: 2.484 MB / 0.6614 GB, free: 8.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.8714, allocations: 93.05 kB / 0.6615 GB, free: 8.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.8737, allocations: 1.642 MB / 0.6631 GB, free: 6.863 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.874, allocations: 45.7 kB / 0.6632 GB, free: 6.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/0.8746, allocations: 0.6147 MB / 0.6638 GB, free: 6.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.8749, allocations: 216.9 kB / 0.664 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.875, allocations: 20 kB / 0.664 GB, free: 5.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.8752, allocations: 337.9 kB / 0.6643 GB, free: 5.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/0.8761, allocations: 485.7 kB / 0.6648 GB, free: 5.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.8772, allocations: 0.6308 MB / 0.6654 GB, free: 4.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8783, allocations: 0.5091 MB / 0.6659 GB, free: 3.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8783, allocations: 0 / 0.6659 GB, free: 3.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003309/0.8816, allocations: 1.537 MB / 0.6674 GB, free: 2.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.8819, allocations: 213.1 kB / 0.6676 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8819, allocations: 7.938 kB / 0.6676 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005194/0.8871, allocations: 0.9187 MB / 0.6685 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.8882, allocations: 243.6 kB / 0.6687 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.8921, allocations: 4.038 MB / 0.6727 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.894, allocations: 257.8 kB / 0.6729 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.8941, allocations: 47.97 kB / 0.673 GB, free: 12.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8941, allocations: 4 kB / 0.673 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002744/0.8969, allocations: 1.244 MB / 0.6742 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8969, allocations: 4 kB / 0.6742 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.8974, allocations: 121.7 kB / 0.6743 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.8987, allocations: 313.6 kB / 0.6746 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.904, allocations: 5.435 MB / 0.6799 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.9057, allocations: 226.2 kB / 0.6801 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-05/0.9058, allocations: 47.97 kB / 0.6802 GB, free: 4.719 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.9069, allocations: 432.8 kB / 0.6806 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.9073, allocations: 158.2 kB / 0.6808 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.91, allocations: 1.152 MB / 0.6819 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.91, allocations: 12 kB / 0.6819 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.91, allocations: 2.312 kB / 0.6819 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.91, allocations: 7.922 kB / 0.6819 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.9147, allocations: 2.424 MB / 0.6843 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9147, allocations: 0 / 0.6843 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.9152, allocations: 123.9 kB / 0.6844 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/0.9198, allocations: 0.8564 MB / 0.6852 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.9199, allocations: 31.86 kB / 0.6853 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.9234, allocations: 4.038 MB / 0.6892 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.9234, allocations: 8.094 kB / 0.6892 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.9264, allocations: 1.323 MB / 0.6905 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.927, allocations: 283 kB / 0.6908 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.9272, allocations: 16 kB / 0.6908 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9286, allocations: 127.8 kB / 0.6909 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9287, allocations: 47.94 kB / 0.6909 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.9289, allocations: 63.92 kB / 0.691 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001758/0.9306, allocations: 1.142 MB / 0.6921 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9306, allocations: 0 / 0.6921 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002634/0.9333, allocations: 0.839 MB / 0.6929 GB, free: 7.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.9345, allocations: 408 kB / 0.6933 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.9392, allocations: 1.915 MB / 0.6952 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.9392, allocations: 9.156 kB / 0.6952 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.9404, allocations: 459.7 kB / 0.6957 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/0.9455, allocations: 0.9899 MB / 0.6966 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.9497, allocations: 2.742 MB / 0.6993 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/0.9506, allocations: 1.205 MB / 0.7005 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.951, allocations: 103.4 kB / 0.7006 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of SimCode: time 1.704e-06/0.951, allocations: 0 / 0.7006 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of Templates: time 0.3643/1.315, allocations: 58.23 MB / 0.7574 GB, free: 197.4 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPoint.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.TestGasValveOpPointCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPointCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasValveOpPointCalcHelperMain.o] Error 1