Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 102.7 kB / 15.71 MB, free: 460 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.001896/0.001896, allocations: 175.2 kB / 16.58 MB, free: 6.863 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.656/1.656, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9643/0.9643, allocations: 89.62 MB / 381.3 MB, free: 11.46 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 9.219 kB / 460.6 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1726, allocations: 68.83 MB / 0.5171 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.561/0.7336, allocations: 131.9 MB / 0.6458 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.7378, allocations: 3.09 MB / 0.6489 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.7381, allocations: 2.688 kB / 0.6489 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005641/0.7387, allocations: 169.5 kB / 0.649 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.7396, allocations: 448.7 kB / 0.6495 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.7404, allocations: 279 kB / 0.6497 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.7411, allocations: 0.763 MB / 0.6505 GB, free: 13.22 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.7413, allocations: 89.42 kB / 0.6506 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.7418, allocations: 269.7 kB / 0.6508 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.7422, allocations: 317.3 kB / 0.6511 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.7422, allocations: 16.72 kB / 0.6511 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009692/0.7432, allocations: 483.1 kB / 0.6516 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.7433, allocations: 66.56 kB / 0.6517 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.7434, allocations: 98.98 kB / 0.6517 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.744, allocations: 448.8 kB / 0.6522 GB, free: 12.24 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.744, allocations: 0 / 0.6522 GB, free: 12.24 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.744, allocations: 0 / 0.6522 GB, free: 12.24 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.744, allocations: 0 / 0.6522 GB, free: 12.24 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001271/0.7453, allocations: 0.715 MB / 0.6529 GB, free: 11.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.7453, allocations: 8.406 kB / 0.6529 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.7454, allocations: 48.06 kB / 0.6529 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.7458, allocations: 308.9 kB / 0.6532 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.7459, allocations: 26.53 kB / 0.6532 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.7459, allocations: 40.64 kB / 0.6533 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.7466, allocations: 419.1 kB / 0.6537 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7467, allocations: 3.938 kB / 0.6537 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.7467, allocations: 14.41 kB / 0.6537 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7467, allocations: 7.938 kB / 0.6537 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.7474, allocations: 383.9 kB / 0.6541 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.7495, allocations: 1.846 MB / 0.6559 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.7503, allocations: 352.9 kB / 0.6562 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.7507, allocations: 171.4 kB / 0.6564 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.7527, allocations: 1.563 MB / 0.6579 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.7531, allocations: 211.5 kB / 0.6581 GB, free: 7.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.7531, allocations: 0 / 0.6581 GB, free: 7.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001291/0.7544, allocations: 0.604 MB / 0.6587 GB, free: 6.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.7545, allocations: 61.11 kB / 0.6588 GB, free: 6.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.7548, allocations: 295.2 kB / 0.659 GB, free: 6.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.7548, allocations: 32.64 kB / 0.6591 GB, free: 6.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.755, allocations: 195.1 kB / 0.6593 GB, free: 6.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.7551, allocations: 120 kB / 0.6594 GB, free: 6.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.7551, allocations: 6.938 kB / 0.6594 GB, free: 6.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7553, allocations: 352.1 kB / 0.6597 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.7555, allocations: 122.3 kB / 0.6598 GB, free: 5.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.7558, allocations: 183.5 kB / 0.66 GB, free: 5.574 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.7562, allocations: 163.9 kB / 0.6602 GB, free: 5.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7562, allocations: 0 / 0.6602 GB, free: 5.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008674/0.7571, allocations: 471.5 kB / 0.6606 GB, free: 5.219 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.7571, allocations: 34.98 kB / 0.6606 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7571, allocations: 1.25 kB / 0.6606 GB, free: 5.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.7574, allocations: 50.22 kB / 0.6607 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.7577, allocations: 80.98 kB / 0.6608 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.759, allocations: 1.431 MB / 0.6622 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.7593, allocations: 48.33 kB / 0.6622 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.7594, allocations: 17.12 kB / 0.6622 GB, free: 3.656 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.7596, allocations: 154.4 kB / 0.6624 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.7597, allocations: 33.22 kB / 0.6624 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.7607, allocations: 0.5296 MB / 0.6629 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7607, allocations: 2.906 kB / 0.6629 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.7608, allocations: 0 / 0.6629 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7608, allocations: 0 / 0.6629 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.7623, allocations: 0.9668 MB / 0.6639 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7623, allocations: 3 kB / 0.6639 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.7625, allocations: 60.38 kB / 0.6639 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.7627, allocations: 51.39 kB / 0.664 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.7627, allocations: 10.94 kB / 0.664 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.7639, allocations: 1.423 MB / 0.6654 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7639, allocations: 0 / 0.6654 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.7651, allocations: 0.6608 MB / 0.666 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7653, allocations: 119.9 kB / 0.6661 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.7653, allocations: 6.438 kB / 0.6661 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.7655, allocations: 22.8 kB / 0.6662 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7657, allocations: 35.86 kB / 0.6662 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.7657, allocations: 16.7 kB / 0.6662 GB, free: 364 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.766, allocations: 222.2 kB / 0.6664 GB, free: 212 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.766, allocations: 0 / 0.6664 GB, free: 212 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006233/0.7666, allocations: 164.6 kB / 0.6666 GB, free: 168 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004386/0.767, allocations: 238.2 kB / 0.6668 GB, free: 12 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.7681, allocations: 0.5024 MB / 0.6673 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7682, allocations: 0 / 0.6673 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.7686, allocations: 298.5 kB / 0.6676 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.7694, allocations: 121.4 kB / 0.6677 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.7712, allocations: 0.9721 MB / 0.6687 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.7717, allocations: 0.8 MB / 0.6694 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.7718, allocations: 38.75 kB / 0.6695 GB, free: 13.95 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.7718, allocations: 0 / 0.6695 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Templates: time 0.01261/0.7844, allocations: 8.233 MB / 0.6775 GB, free: 6.113 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.CheckValveCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValveCalcHelperMain.o] Error 1