Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000793/0.0007932, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008333/0.0008333, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2435/0.2435, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 4 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1688, allocations: 63.47 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5326/0.7015, allocations: 146 MB / 0.6134 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.7051, allocations: 1.64 MB / 0.615 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.7055, allocations: 11.88 kB / 0.615 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.7061, allocations: 170.9 kB / 0.6152 GB, free: 2.625 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.001967/0.7081, allocations: 0.6722 MB / 0.6159 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.7097, allocations: 0.5177 MB / 0.6164 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.7111, allocations: 1.341 MB / 0.6177 GB, free: 96 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.7115, allocations: 265.4 kB / 0.6179 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.7122, allocations: 422.3 kB / 0.6183 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.7126, allocations: 358.6 kB / 0.6187 GB, free: 15.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.7127, allocations: 24 kB / 0.6187 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009087/0.7136, allocations: 406.2 kB / 0.6191 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.7138, allocations: 135.6 kB / 0.6192 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.7139, allocations: 117.5 kB / 0.6193 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.7147, allocations: 0.6608 MB / 0.62 GB, free: 13.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.7148, allocations: 4 kB / 0.62 GB, free: 13.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7148, allocations: 0 / 0.62 GB, free: 13.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.7148, allocations: 0 / 0.62 GB, free: 13.73 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001625/0.7164, allocations: 0.8172 MB / 0.6208 GB, free: 12.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.7165, allocations: 8.031 kB / 0.6208 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.7169, allocations: 75.33 kB / 0.6209 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.7174, allocations: 390.6 kB / 0.6212 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.7175, allocations: 58.69 kB / 0.6213 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.7176, allocations: 40 kB / 0.6213 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.7186, allocations: 0.5205 MB / 0.6218 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7186, allocations: 7.922 kB / 0.6218 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.7186, allocations: 20 kB / 0.6219 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.7187, allocations: 20.59 kB / 0.6219 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.7195, allocations: 426.2 kB / 0.6223 GB, free: 11.22 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.002949/0.7225, allocations: 2.485 MB / 0.6247 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.7232, allocations: 367.3 kB / 0.6251 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.7236, allocations: 180.1 kB / 0.6252 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.7237, allocations: 8.266 kB / 0.6252 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005336/0.7242, allocations: 280.7 kB / 0.6255 GB, free: 7.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.512e-06/0.7242, allocations: 0 / 0.6255 GB, free: 7.711 MB / 462.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.01082/0.735, allocations: 3.603 MB / 0.629 GB, free: 3.977 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.7352, allocations: 162.2 kB / 0.6292 GB, free: 3.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.7356, allocations: 389.4 kB / 0.6295 GB, free: 3.391 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.7357, allocations: 37.7 kB / 0.6296 GB, free: 3.348 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.7359, allocations: 255.9 kB / 0.6298 GB, free: 3.094 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.736, allocations: 161.7 kB / 0.63 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.7361, allocations: 8 kB / 0.63 GB, free: 2.926 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7363, allocations: 358.8 kB / 0.6303 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.7368, allocations: 245.1 kB / 0.6306 GB, free: 2.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.7375, allocations: 429.1 kB / 0.631 GB, free: 1.832 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.7382, allocations: 322.2 kB / 0.6313 GB, free: 1.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7382, allocations: 4 kB / 0.6313 GB, free: 1.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001668/0.7399, allocations: 0.81 MB / 0.6321 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.7399, allocations: 33.7 kB / 0.6321 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7399, allocations: 4 kB / 0.6321 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.7403, allocations: 125.4 kB / 0.6322 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.7409, allocations: 151.8 kB / 0.6324 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006195/0.7415, allocations: 0.6733 MB / 0.633 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.742, allocations: 68 kB / 0.6331 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.7421, allocations: 51.98 kB / 0.6331 GB, free: 15.55 MB / 478.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.0002647/0.7423, allocations: 200.9 kB / 0.6333 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-05/0.7424, allocations: 51.39 kB / 0.6334 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.7443, allocations: 0.7787 MB / 0.6342 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.7443, allocations: 4 kB / 0.6342 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.7443, allocations: 3.953 kB / 0.6342 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7444, allocations: 3.984 kB / 0.6342 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.7468, allocations: 1.332 MB / 0.6355 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7468, allocations: 4.156 kB / 0.6355 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004615/0.7472, allocations: 119.8 kB / 0.6356 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.7478, allocations: 104.8 kB / 0.6357 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.7478, allocations: 23.94 kB / 0.6357 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.7499, allocations: 1.696 MB / 0.6374 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7499, allocations: 4.031 kB / 0.6374 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.7521, allocations: 1.036 MB / 0.6384 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.7523, allocations: 172.5 kB / 0.6385 GB, free: 9.742 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.7524, allocations: 12 kB / 0.6386 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.7529, allocations: 63.94 kB / 0.6386 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.753, allocations: 67.86 kB / 0.6387 GB, free: 9.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.7531, allocations: 35.98 kB / 0.6387 GB, free: 9.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.7534, allocations: 267.1 kB / 0.639 GB, free: 9.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7534, allocations: 0 / 0.639 GB, free: 9.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008883/0.7543, allocations: 235.9 kB / 0.6392 GB, free: 9.078 MB / 478.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.0009427/0.7553, allocations: 304.4 kB / 0.6395 GB, free: 8.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.7568, allocations: 0.6499 MB / 0.6401 GB, free: 8.117 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7568, allocations: 4 kB / 0.6401 GB, free: 8.113 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.7577, allocations: 435 kB / 0.6405 GB, free: 7.676 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.7588, allocations: 193.3 kB / 0.6407 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.7611, allocations: 1.399 MB / 0.6421 GB, free: 6.039 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.7616, allocations: 0.8553 MB / 0.6429 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.762, allocations: 83.41 kB / 0.643 GB, free: 5.074 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.762, allocations: 4 kB / 0.643 GB, free: 5.07 MB / 478.1 MB Notification: Performance of Templates: time 0.01743/0.7794, allocations: 11.56 MB / 0.6543 GB, free: 9.551 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile make -j1 -f ModelicaTest_trunk_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o] Error 1