Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.91 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.001664/0.001664, allocations: 178.2 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.635/1.635, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8227/0.8227, allocations: 89.62 MB / 381.3 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 10.81 kB / 460.6 MB, free: 24.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 68.82 MB / 0.517 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5958/0.7842, allocations: 173.2 MB / 0.6862 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.8084, allocations: 16.57 MB / 0.7024 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.8114, allocations: 27.81 kB / 0.7024 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.8143, allocations: 0.8156 MB / 0.7032 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00906/0.8234, allocations: 2.078 MB / 0.7052 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.8288, allocations: 1.338 MB / 0.7066 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006158/0.835, allocations: 3.764 MB / 0.7102 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.8357, allocations: 356.2 kB / 0.7106 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.8387, allocations: 1.249 MB / 0.7118 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/0.8418, allocations: 1.409 MB / 0.7132 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.8422, allocations: 84 kB / 0.7132 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006875/0.8491, allocations: 2.137 MB / 0.7153 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.8496, allocations: 342.4 kB / 0.7157 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.8504, allocations: 372.8 kB / 0.716 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.8538, allocations: 2.053 MB / 0.718 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.8538, allocations: 4 kB / 0.718 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8538, allocations: 0 / 0.718 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.8538, allocations: 0 / 0.718 GB, free: 13.61 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004136/0.858, allocations: 2.09 MB / 0.7201 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.858, allocations: 15.97 kB / 0.7201 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/0.8586, allocations: 225.5 kB / 0.7203 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.86, allocations: 0.906 MB / 0.7212 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.8602, allocations: 110.9 kB / 0.7213 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.8604, allocations: 159.8 kB / 0.7214 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.8631, allocations: 1.628 MB / 0.723 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.8632, allocations: 4 kB / 0.723 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.8633, allocations: 67.94 kB / 0.7231 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.8634, allocations: 32 kB / 0.7231 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.8659, allocations: 1.5 MB / 0.7246 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009493/0.8754, allocations: 7.139 MB / 0.7316 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/0.8782, allocations: 1.542 MB / 0.7331 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.8794, allocations: 0.7552 MB / 0.7338 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00715/0.8866, allocations: 5.96 MB / 0.7396 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.493e-05/0.8867, allocations: 71.31 kB / 0.7397 GB, free: 5.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=166): time 3.397e-06/0.8867, allocations: 0 / 0.7397 GB, free: 5.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.006703/0.8934, allocations: 3.152 MB / 0.7428 GB, free: 2.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.8935, allocations: 179 kB / 0.7429 GB, free: 2.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.8953, allocations: 1.083 MB / 0.744 GB, free: 1.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.8955, allocations: 61.64 kB / 0.7441 GB, free: 1.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006764/0.8961, allocations: 0.6849 MB / 0.7447 GB, free: 420 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.8967, allocations: 0.57 MB / 0.7453 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.8968, allocations: 32 kB / 0.7453 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002117/0.8971, allocations: 369.9 kB / 0.7457 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.8981, allocations: 0.492 MB / 0.7462 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.8994, allocations: 0.8289 MB / 0.747 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9007, allocations: 0.6123 MB / 0.7476 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.9007, allocations: 4 kB / 0.7476 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003604/0.9043, allocations: 1.833 MB / 0.7494 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.9043, allocations: 14.44 kB / 0.7494 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.9044, allocations: 12.88 kB / 0.7494 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/0.9052, allocations: 228.1 kB / 0.7496 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9067, allocations: 387.4 kB / 0.75 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.9135, allocations: 7.138 MB / 0.7569 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.9151, allocations: 182.4 kB / 0.7571 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.9154, allocations: 71.98 kB / 0.7572 GB, free: 2.832 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001047/0.9165, allocations: 329.3 kB / 0.7575 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006757/0.9172, allocations: 162 kB / 0.7576 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004819/0.922, allocations: 2.069 MB / 0.7597 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/0.922, allocations: 16 kB / 0.7597 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-05/0.9221, allocations: 4.188 kB / 0.7597 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.9221, allocations: 15.95 kB / 0.7597 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.9299, allocations: 3.881 MB / 0.7635 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.9299, allocations: 4 kB / 0.7635 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.931, allocations: 267.6 kB / 0.7638 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001848/0.9329, allocations: 475.4 kB / 0.7642 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.9331, allocations: 63.89 kB / 0.7643 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/0.9413, allocations: 9.414 MB / 0.7735 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.9414, allocations: 7.938 kB / 0.7735 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.9479, allocations: 2.858 MB / 0.7763 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008783/0.9488, allocations: 262.6 kB / 0.7765 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005082/0.9493, allocations: 43.89 kB / 0.7765 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.9509, allocations: 99.78 kB / 0.7766 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.9513, allocations: 124.7 kB / 0.7768 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/0.9516, allocations: 75.95 kB / 0.7768 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001604/0.9532, allocations: 0.744 MB / 0.7776 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9532, allocations: 3.938 kB / 0.7776 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003583/0.9568, allocations: 0.7763 MB / 0.7783 GB, free: 12.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/0.9589, allocations: 0.7577 MB / 0.7791 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004404/0.9633, allocations: 2.002 MB / 0.781 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.9633, allocations: 4 kB / 0.781 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.9665, allocations: 1.433 MB / 0.7824 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005125/0.9716, allocations: 0.5524 MB / 0.783 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/0.9813, allocations: 4.407 MB / 0.7873 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.9829, allocations: 1.273 MB / 0.7885 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008587/0.9838, allocations: 167.4 kB / 0.7887 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.274e-06/0.9838, allocations: 0 / 0.7887 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.479/1.463, allocations: 71.19 MB / 0.8582 GB, free: 192.3 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.FlowControl.Tests.PCVCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.PCVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.PCVCalcHelperMain.o] Error 1