Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009078, allocations: 92.08 kB / 16.02 MB, free: 80 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.001492/0.001492, allocations: 179.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.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.0006067/0.000607, allocations: 17.56 kB / 0.6749 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3344, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08595/0.4204, allocations: 78.82 MB / 0.8655 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04305/0.4635, allocations: 22.5 MB / 0.8875 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005663/0.4693, allocations: 91.31 kB / 0.8875 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.4736, allocations: 1.03 MB / 0.8886 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4843, allocations: 2.561 MB / 0.8911 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01438/0.4987, allocations: 3.226 MB / 0.8942 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.7231/1.222, allocations: 20.7 MB / 0.9144 GB, free: 18.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/1.233, allocations: 6.004 MB / 0.9203 GB, free: 17.49 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/1.25, allocations: 4.661 MB / 0.9248 GB, free: 17.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/1.264, allocations: 4.828 MB / 0.9295 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003483/1.267, allocations: 257.2 kB / 0.9298 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/1.278, allocations: 1.619 MB / 0.9314 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0046/1.282, allocations: 1.265 MB / 0.9326 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01248/1.295, allocations: 2.888 MB / 0.9354 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/1.309, allocations: 6.911 MB / 0.9422 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/1.309, allocations: 0 / 0.9422 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.549e-06/1.309, allocations: 1.219 kB / 0.9422 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006483/1.31, allocations: 4 kB / 0.9422 GB, free: 15.15 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.02142/1.331, allocations: 5.338 MB / 0.9474 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.332, allocations: 9.812 kB / 0.9474 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/1.338, allocations: 0.8468 MB / 0.9482 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/1.355, allocations: 5.209 MB / 0.9533 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004717/1.355, allocations: 262.6 kB / 0.9536 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/1.358, allocations: 338.2 kB / 0.9539 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/1.377, allocations: 5.74 MB / 0.9595 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004263/1.377, allocations: 9.594 kB / 0.9595 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003539/1.381, allocations: 140.6 kB / 0.9596 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002361/1.381, allocations: 84.22 kB / 0.9597 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/1.399, allocations: 5.548 MB / 0.9651 GB, free: 9.484 MB / 0.7169 GB 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.05478/1.454, allocations: 23.92 MB / 0.9885 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006477/1.46, allocations: 2.771 MB / 0.9912 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/1.464, allocations: 1.909 MB / 0.9931 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/1.484, allocations: 7.077 MB / 1 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004067/1.488, allocations: 1.927 MB / 1.002 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006393/1.494, allocations: 1.255 MB / 1.003 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=155): time 1.663e-05/1.495, allocations: 0 / 1.003 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155): time 0.02625/1.521, allocations: 7.614 MB / 1.011 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.521, allocations: 153.8 kB / 1.011 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.535, allocations: 4.848 MB / 1.015 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.536, allocations: 64.52 kB / 1.015 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00415/1.54, allocations: 2.444 MB / 1.018 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/1.542, allocations: 0.5499 MB / 1.018 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/1.543, allocations: 225.2 kB / 1.019 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.543, allocations: 305.1 kB / 1.019 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003977/1.547, allocations: 1.691 MB / 1.021 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005342/1.552, allocations: 2.912 MB / 1.023 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/1.562, allocations: 4.614 MB / 1.028 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.769e-05/1.563, allocations: 11.94 kB / 1.028 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01851/1.581, allocations: 6.126 MB / 1.034 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001267/1.582, allocations: 1.101 MB / 1.035 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.583, allocations: 35.98 kB / 1.035 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07498/1.657, allocations: 11.9 MB / 1.047 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/1.661, allocations: 0.6607 MB / 1.047 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009688/1.671, allocations: 5.04 MB / 1.052 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006872/1.678, allocations: 335.4 kB / 1.053 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.679, allocations: 163.9 kB / 1.053 GB, free: 14.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.679, allocations: 4 kB / 1.053 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/1.691, allocations: 5.391 MB / 1.058 GB, free: 9.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/1.692, allocations: 35.98 kB / 1.058 GB, free: 9.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07352/1.765, allocations: 11.66 MB / 1.069 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.769, allocations: 0.6517 MB / 1.07 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.783, allocations: 8.044 MB / 1.078 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006609/1.789, allocations: 319.8 kB / 1.078 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000938/1.79, allocations: 163.9 kB / 1.078 GB, free: 4.594 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(11,13), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005099/1.795, allocations: 1.545 MB / 1.08 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/1.798, allocations: 458.3 kB / 1.08 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.808, allocations: 4.843 MB / 1.085 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.808, allocations: 16 kB / 1.085 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.808, allocations: 0 / 1.085 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01989/1.828, allocations: 6.982 MB / 1.092 GB, free: 6.586 MB / 0.8262 GB 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 postOpt removeSimpleEquations (simulation): time 0.04176/1.87, allocations: 13.16 MB / 1.105 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/1.87, allocations: 0 / 1.105 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/1.872, allocations: 366.5 kB / 1.105 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07143/1.944, allocations: 11.9 MB / 1.117 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008816/1.945, allocations: 47.97 kB / 1.117 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/1.952, allocations: 4.375 MB / 1.121 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.952, allocations: 1.406 kB / 1.121 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02829/1.981, allocations: 9.697 MB / 1.13 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005062/1.986, allocations: 1.069 MB / 1.131 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/1.989, allocations: 28 kB / 1.132 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00619/1.995, allocations: 275.2 kB / 1.132 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006128/1.995, allocations: 101.2 kB / 1.132 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006212/1.996, allocations: 75.94 kB / 1.132 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0107/2.007, allocations: 3.317 MB / 1.135 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.986e-06/2.007, allocations: 0 / 1.135 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0175/2.024, allocations: 2.694 MB / 1.138 GB, free: 7.445 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * 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 (127): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(10,3), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003104/2.027, allocations: 0.5497 MB / 1.138 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02238/2.05, allocations: 7.602 MB / 1.146 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/2.05, allocations: 0.8906 kB / 1.146 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007305/2.057, allocations: 2.506 MB / 1.148 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02522/2.082, allocations: 2.741 MB / 1.151 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/2.115, allocations: 11.89 MB / 1.162 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005886/2.121, allocations: 3.193 MB / 1.166 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/2.124, allocations: 369.8 kB / 1.166 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of SimCode: time 2.365e-06/2.124, allocations: 0 / 1.166 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.9276/3.051, allocations: 162.7 MB / 1.325 GB, free: 358.7 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile make -j1 -f Buildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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 OMCppBuildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o] Error 1