Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009941, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.689/1.689, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9592/0.9592, allocations: 89.62 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 7.594 kB / 460.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 68.83 MB / 0.5171 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.5874/0.7695, allocations: 158.1 MB / 0.6715 GB, free: 12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.783, allocations: 10.23 MB / 0.6815 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.7848, allocations: 23.88 kB / 0.6815 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.7868, allocations: 0.6605 MB / 0.6821 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.7913, allocations: 1.461 MB / 0.6835 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.794, allocations: 0.806 MB / 0.6843 GB, free: 152 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.7977, allocations: 2.783 MB / 0.6871 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.7984, allocations: 366.6 kB / 0.6874 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.8002, allocations: 0.7976 MB / 0.6882 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.802, allocations: 1.211 MB / 0.6894 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.8021, allocations: 59.94 kB / 0.6894 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.8062, allocations: 1.598 MB / 0.691 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.8065, allocations: 246.9 kB / 0.6912 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004913/0.807, allocations: 289 kB / 0.6915 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.8093, allocations: 1.683 MB / 0.6931 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8093, allocations: 0 / 0.6931 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8093, allocations: 4 kB / 0.6931 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.333e-05/0.8094, allocations: 0 / 0.6931 GB, free: 7.094 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003494/0.8129, allocations: 1.649 MB / 0.6947 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8129, allocations: 8.031 kB / 0.6948 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.8132, allocations: 150.2 kB / 0.6949 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.8144, allocations: 0.7048 MB / 0.6956 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.8145, allocations: 94.36 kB / 0.6957 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.8147, allocations: 120 kB / 0.6958 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.8173, allocations: 1.532 MB / 0.6973 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.8174, allocations: 0 / 0.6973 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.8175, allocations: 48 kB / 0.6973 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.8175, allocations: 36 kB / 0.6974 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.8203, allocations: 1.676 MB / 0.699 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008388/0.8287, allocations: 6.206 MB / 0.7051 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.8311, allocations: 1.307 MB / 0.7063 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.8322, allocations: 0.7036 MB / 0.707 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005158/0.8374, allocations: 4.033 MB / 0.711 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.8387, allocations: 0.7433 MB / 0.7117 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=128): time 2.705e-06/0.8387, allocations: 4 kB / 0.7117 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=129): time 0.007557/0.8463, allocations: 3.954 MB / 0.7156 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.8463, allocations: 68.72 kB / 0.7156 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.8471, allocations: 0.5747 MB / 0.7162 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.8472, allocations: 53.7 kB / 0.7162 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.8477, allocations: 468.5 kB / 0.7167 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/0.8481, allocations: 437.5 kB / 0.7171 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.8481, allocations: 24 kB / 0.7171 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.8483, allocations: 349.9 kB / 0.7175 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/0.8493, allocations: 0.5179 MB / 0.718 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.8504, allocations: 0.6329 MB / 0.7186 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.8515, allocations: 0.6171 MB / 0.7192 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.8515, allocations: 0 / 0.7192 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002859/0.8544, allocations: 1.596 MB / 0.7207 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.8544, allocations: 33.7 kB / 0.7208 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8544, allocations: 0 / 0.7208 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.855, allocations: 156.7 kB / 0.7209 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.856, allocations: 255.6 kB / 0.7212 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.8603, allocations: 2.524 MB / 0.7236 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.8611, allocations: 95.88 kB / 0.7237 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.8612, allocations: 55.92 kB / 0.7238 GB, free: 6.148 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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: 1 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000522/0.8617, allocations: 277.6 kB / 0.724 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.8619, allocations: 98.78 kB / 0.7241 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/0.866, allocations: 2.34 MB / 0.7264 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.8661, allocations: 16 kB / 0.7264 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8661, allocations: 3.984 kB / 0.7264 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.8661, allocations: 3.984 kB / 0.7264 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.8719, allocations: 3.388 MB / 0.7298 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.8719, allocations: 7.875 kB / 0.7298 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/0.8728, allocations: 271.8 kB / 0.73 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.8733, allocations: 144.8 kB / 0.7302 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.8734, allocations: 47.98 kB / 0.7302 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.8762, allocations: 2.22 MB / 0.7324 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8763, allocations: 7.938 kB / 0.7324 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.8812, allocations: 2.598 MB / 0.7349 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.8815, allocations: 179.7 kB / 0.7351 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.8817, allocations: 28 kB / 0.7351 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/0.8825, allocations: 103.8 kB / 0.7352 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.8827, allocations: 121.1 kB / 0.7353 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.8829, allocations: 51.98 kB / 0.7354 GB, free: 10.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005647/0.8834, allocations: 431 kB / 0.7358 GB, free: 9.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8834, allocations: 3.938 kB / 0.7358 GB, free: 9.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001826/0.8853, allocations: 0.5077 MB / 0.7363 GB, free: 9.082 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * 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: 1 {(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.8865, allocations: 0.5872 MB / 0.7369 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003172/0.8896, allocations: 1.637 MB / 0.7385 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8896, allocations: 0 / 0.7385 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.8914, allocations: 0.9982 MB / 0.7394 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.8931, allocations: 349 kB / 0.7398 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.8986, allocations: 3.017 MB / 0.7427 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.8996, allocations: 1.133 MB / 0.7438 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.9001, allocations: 155.3 kB / 0.744 GB, free: 1.105 MB / 0.545 GB Notification: Performance of SimCode: time 1.243e-06/0.9001, allocations: 0 / 0.744 GB, free: 1.105 MB / 0.545 GB Notification: Performance of Templates: time 0.04997/0.95, allocations: 27.9 MB / 0.7712 GB, free: 5.277 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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 OMCppThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValveCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValveCalcHelperMain.o] Error 1