Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.00094, allocations: 87.88 kB / 17.63 MB, free: 5.711 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.001593/0.001592, allocations: 179.3 kB / 18.52 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 242.5 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 17.52 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5686/0.7182, allocations: 145.9 MB / 0.6036 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004027/0.7223, allocations: 1.636 MB / 0.6052 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006591/0.723, allocations: 15.88 kB / 0.6053 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.7237, allocations: 178.8 kB / 0.6054 GB, free: 15.43 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002271/0.7259, allocations: 0.6603 MB / 0.6061 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7276, allocations: 0.5247 MB / 0.6066 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.7293, allocations: 1.345 MB / 0.6079 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.7298, allocations: 273 kB / 0.6082 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.7306, allocations: 402.4 kB / 0.6085 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.7311, allocations: 366.5 kB / 0.6089 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.7312, allocations: 24 kB / 0.6089 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.7324, allocations: 395.4 kB / 0.6093 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.7326, allocations: 131.6 kB / 0.6094 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.7327, allocations: 121.5 kB / 0.6095 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.7336, allocations: 0.653 MB / 0.6102 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7336, allocations: 4 kB / 0.6102 GB, free: 10.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.7336, allocations: 0 / 0.6102 GB, free: 10.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.7336, allocations: 0 / 0.6102 GB, free: 10.56 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001634/0.7352, allocations: 0.8235 MB / 0.611 GB, free: 9.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7353, allocations: 8.562 kB / 0.611 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.7357, allocations: 75.33 kB / 0.6111 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.7363, allocations: 378.7 kB / 0.6114 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.7364, allocations: 62.69 kB / 0.6115 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.7364, allocations: 39.95 kB / 0.6115 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009326/0.7374, allocations: 0.5332 MB / 0.612 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7374, allocations: 3.938 kB / 0.612 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.7375, allocations: 16 kB / 0.6121 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.7375, allocations: 20.66 kB / 0.6121 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.7384, allocations: 422.2 kB / 0.6125 GB, free: 8.059 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.003199/0.7416, allocations: 2.523 MB / 0.6149 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.7424, allocations: 363.6 kB / 0.6153 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.7427, allocations: 177.2 kB / 0.6155 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.7428, allocations: 4.281 kB / 0.6155 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.7433, allocations: 276.8 kB / 0.6157 GB, free: 4.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.7433, allocations: 0 / 0.6157 GB, free: 4.52 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01221/0.7556, allocations: 3.603 MB / 0.6192 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.7558, allocations: 162.2 kB / 0.6194 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.7564, allocations: 385.5 kB / 0.6198 GB, free: 212 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.7565, allocations: 33.7 kB / 0.6198 GB, free: 172 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.7568, allocations: 255.9 kB / 0.62 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.757, allocations: 161.7 kB / 0.6202 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.757, allocations: 8 kB / 0.6202 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.7572, allocations: 366.7 kB / 0.6206 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006058/0.7579, allocations: 241.1 kB / 0.6208 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/0.7587, allocations: 429 kB / 0.6212 GB, free: 14.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.7594, allocations: 318.3 kB / 0.6215 GB, free: 14.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7594, allocations: 0 / 0.6215 GB, free: 14.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001901/0.7613, allocations: 0.8177 MB / 0.6223 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.7614, allocations: 37.69 kB / 0.6223 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.7614, allocations: 8 kB / 0.6223 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.7619, allocations: 121.3 kB / 0.6225 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.7625, allocations: 143.8 kB / 0.6226 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000773/0.7633, allocations: 0.685 MB / 0.6233 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.7639, allocations: 63.94 kB / 0.6233 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.764, allocations: 40 kB / 0.6234 GB, free: 12.37 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.7643, allocations: 205.7 kB / 0.6236 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.7644, allocations: 47.44 kB / 0.6236 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.7664, allocations: 0.7767 MB / 0.6244 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7664, allocations: 8 kB / 0.6244 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7664, allocations: 0 / 0.6244 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.7664, allocations: 3.984 kB / 0.6244 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.7691, allocations: 1.336 MB / 0.6257 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7691, allocations: 160 / 0.6257 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.7696, allocations: 119.9 kB / 0.6258 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/0.7701, allocations: 104.8 kB / 0.6259 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.7702, allocations: 19.94 kB / 0.6259 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.7721, allocations: 1.703 MB / 0.6276 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7721, allocations: 4.031 kB / 0.6276 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.7743, allocations: 1.051 MB / 0.6286 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.7746, allocations: 160.5 kB / 0.6288 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/0.7747, allocations: 20 kB / 0.6288 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.7752, allocations: 63.94 kB / 0.6288 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.7754, allocations: 59.91 kB / 0.6289 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.7754, allocations: 35.98 kB / 0.6289 GB, free: 6.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.7758, allocations: 271.1 kB / 0.6292 GB, free: 6.109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7758, allocations: 0 / 0.6292 GB, free: 6.109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000914/0.7767, allocations: 231.9 kB / 0.6294 GB, free: 5.883 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000814/0.7775, allocations: 284.1 kB / 0.6297 GB, free: 5.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.779, allocations: 0.6501 MB / 0.6303 GB, free: 4.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.779, allocations: 3.938 kB / 0.6303 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.7799, allocations: 438.3 kB / 0.6307 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.7809, allocations: 197.3 kB / 0.6309 GB, free: 4.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.7833, allocations: 1.416 MB / 0.6323 GB, free: 2.848 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.7838, allocations: 0.8591 MB / 0.6331 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.7841, allocations: 75.42 kB / 0.6332 GB, free: 1.883 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7841, allocations: 0 / 0.6332 GB, free: 1.883 MB / 462.1 MB Notification: Performance of Templates: time 0.01827/0.8024, allocations: 11.49 MB / 0.6444 GB, free: 6.434 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o] Error 1