Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(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_3.2.3_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_3.2.3_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.0009951/0.0009952, allocations: 89.8 kB / 16.66 MB, free: 6.59 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.001129/0.001129, allocations: 178.7 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2819/0.2819, allocations: 43.59 MB / 315.6 MB, free: 416 kB / 254.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.0006512/0.0006515, allocations: 18.5 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1691, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6274/0.7966, allocations: 159.3 MB / 0.5893 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.8032, allocations: 4.198 MB / 0.5934 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/0.8042, allocations: 14.12 kB / 0.5934 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008974/0.8051, allocations: 183.1 kB / 0.5936 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.808, allocations: 0.7392 MB / 0.5943 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.81, allocations: 0.5902 MB / 0.5949 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.8122, allocations: 1.596 MB / 0.5964 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.8126, allocations: 283.6 kB / 0.5967 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008358/0.8135, allocations: 416.5 kB / 0.5971 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.814, allocations: 389.3 kB / 0.5975 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.8141, allocations: 22.53 kB / 0.5975 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.8155, allocations: 0.5147 MB / 0.598 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.8157, allocations: 143.5 kB / 0.5981 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.816, allocations: 274.9 kB / 0.5984 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.8169, allocations: 0.6943 MB / 0.5991 GB, free: 8.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.817, allocations: 0 / 0.5991 GB, free: 8.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.817, allocations: 0 / 0.5991 GB, free: 8.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.817, allocations: 0 / 0.5991 GB, free: 8.621 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001637/0.8186, allocations: 0.8123 MB / 0.5999 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.8187, allocations: 12.66 kB / 0.5999 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.819, allocations: 72.03 kB / 0.5999 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.8196, allocations: 388.7 kB / 0.6003 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.8197, allocations: 62.25 kB / 0.6004 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/0.8198, allocations: 39.72 kB / 0.6004 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.8208, allocations: 0.5392 MB / 0.6009 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.8209, allocations: 1.938 kB / 0.6009 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.8209, allocations: 20.06 kB / 0.6009 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.821, allocations: 11.72 kB / 0.601 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.8219, allocations: 432.3 kB / 0.6014 GB, free: 7.266 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.003552/0.8254, allocations: 2.515 MB / 0.6038 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.8263, allocations: 368.6 kB / 0.6042 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.8267, allocations: 174.9 kB / 0.6043 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.8267, allocations: 10.17 kB / 0.6044 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.8273, allocations: 284.9 kB / 0.6046 GB, free: 5.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.8273, allocations: 0 / 0.6046 GB, free: 5.055 MB / 430.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.01251/0.8398, allocations: 3.589 MB / 0.6081 GB, free: 3.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.84, allocations: 163.7 kB / 0.6083 GB, free: 3.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.8404, allocations: 386.4 kB / 0.6087 GB, free: 3.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.8405, allocations: 35.83 kB / 0.6087 GB, free: 3.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.8407, allocations: 264.9 kB / 0.6089 GB, free: 3.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.8409, allocations: 164.4 kB / 0.6091 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.8409, allocations: 48.61 kB / 0.6091 GB, free: 2.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.8411, allocations: 355.7 kB / 0.6095 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.8417, allocations: 245.2 kB / 0.6097 GB, free: 2.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.8429, allocations: 429.8 kB / 0.6101 GB, free: 2.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.8443, allocations: 0.6931 MB / 0.6108 GB, free: 1.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8443, allocations: 3.938 kB / 0.6108 GB, free: 1.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002252/0.8466, allocations: 0.8395 MB / 0.6116 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.8466, allocations: 41.27 kB / 0.6117 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8467, allocations: 5.719 kB / 0.6117 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/0.8471, allocations: 115.5 kB / 0.6118 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.8478, allocations: 149.4 kB / 0.6119 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006128/0.8484, allocations: 0.6772 MB / 0.6126 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.849, allocations: 62.61 kB / 0.6126 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.8491, allocations: 46.61 kB / 0.6127 GB, free: 0.9922 MB / 430.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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0003039/0.8494, allocations: 205.1 kB / 0.6129 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.8495, allocations: 56.11 kB / 0.6129 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.8517, allocations: 0.7894 MB / 0.6137 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.8517, allocations: 5.125 kB / 0.6137 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8517, allocations: 0 / 0.6137 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8518, allocations: 6.891 kB / 0.6137 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.8546, allocations: 1.318 MB / 0.615 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8546, allocations: 3.094 kB / 0.615 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.8551, allocations: 123.9 kB / 0.6151 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/0.8556, allocations: 101.3 kB / 0.6152 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.8557, allocations: 19.92 kB / 0.6152 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.8576, allocations: 1.702 MB / 0.6169 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8576, allocations: 3.031 kB / 0.6169 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.86, allocations: 1.039 MB / 0.6179 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.8602, allocations: 165.1 kB / 0.6181 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.58e-05/0.8603, allocations: 17.72 kB / 0.6181 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.8608, allocations: 63.47 kB / 0.6182 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8609, allocations: 59.39 kB / 0.6182 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.861, allocations: 35.23 kB / 0.6183 GB, free: 12.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.8613, allocations: 274.6 kB / 0.6185 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8613, allocations: 0 / 0.6185 GB, free: 12.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008866/0.8622, allocations: 240.5 kB / 0.6187 GB, free: 12.65 MB / 446.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008519/0.8631, allocations: 319.4 kB / 0.619 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.8647, allocations: 0.662 MB / 0.6197 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8647, allocations: 0 / 0.6197 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.8656, allocations: 432 kB / 0.6201 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.8669, allocations: 197.6 kB / 0.6203 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.8694, allocations: 1.474 MB / 0.6217 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.8699, allocations: 0.8592 MB / 0.6226 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.8703, allocations: 79.42 kB / 0.6226 GB, free: 8.566 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.8703, allocations: 0 / 0.6226 GB, free: 8.566 MB / 446.1 MB Notification: Performance of Templates: time 0.02226/0.8925, allocations: 11.68 MB / 0.6341 GB, free: 12.91 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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 OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolumeCalcHelperMain.o] Error 1