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.00119/0.00119, allocations: 102.1 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.001771/0.001771, allocations: 172.3 kB / 16.58 MB, free: 6.402 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.811/1.811, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.92/1.92, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005746/0.0005747, allocations: 14.5 kB / 0.6743 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3113, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07121/0.3826, allocations: 74.42 MB / 0.8606 GB, free: 1.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03338/0.416, allocations: 20.97 MB / 0.8811 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004599/0.4207, allocations: 91.31 kB / 0.8811 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.4244, allocations: 0.8075 MB / 0.8819 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00869/0.4331, allocations: 2.273 MB / 0.8842 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009654/0.4428, allocations: 2.833 MB / 0.8869 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.02376/0.4666, allocations: 17.44 MB / 0.904 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7353/1.202, allocations: 5.251 MB / 0.9091 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01484/1.217, allocations: 4.626 MB / 0.9136 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01329/1.23, allocations: 4.574 MB / 0.9181 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003201/1.233, allocations: 262.2 kB / 0.9183 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009407/1.243, allocations: 1.335 MB / 0.9196 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005351/1.248, allocations: 1.22 MB / 0.9208 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005439/1.254, allocations: 1.103 MB / 0.9219 GB, free: 20.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/1.271, allocations: 6.883 MB / 0.9286 GB, free: 20.61 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/1.271, allocations: 0 / 0.9286 GB, free: 20.61 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.977e-06/1.271, allocations: 1.219 kB / 0.9286 GB, free: 20.61 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005839/1.272, allocations: 0.75 kB / 0.9286 GB, free: 20.61 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.02335/1.295, allocations: 5.419 MB / 0.9339 GB, free: 18.19 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/1.295, allocations: 9.062 kB / 0.9339 GB, free: 18.19 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008167/1.303, allocations: 0.841 MB / 0.9347 GB, free: 17.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.322, allocations: 5.021 MB / 0.9396 GB, free: 17.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004996/1.322, allocations: 263 kB / 0.9399 GB, free: 17.11 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003335/1.326, allocations: 343.7 kB / 0.9402 GB, free: 17.11 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/1.347, allocations: 5.731 MB / 0.9458 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.348, allocations: 12.22 kB / 0.9458 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008403/1.348, allocations: 144.8 kB / 0.946 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/1.349, allocations: 82.56 kB / 0.946 GB, free: 16.39 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/1.363, allocations: 5.561 MB / 0.9515 GB, free: 16.34 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.05989/1.423, allocations: 24.01 MB / 0.9749 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006533/1.429, allocations: 2.8 MB / 0.9777 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/1.433, allocations: 1.93 MB / 0.9795 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/1.455, allocations: 7.142 MB / 0.9865 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004313/1.459, allocations: 1.946 MB / 0.9884 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006711/1.466, allocations: 1.246 MB / 0.9896 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=155): time 1.923e-05/1.466, allocations: 0 / 0.9896 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155): time 0.02506/1.491, allocations: 7.628 MB / 0.9971 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.492, allocations: 148.7 kB / 0.9972 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01475/1.506, allocations: 4.845 MB / 1.002 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/1.507, allocations: 70.67 kB / 1.002 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003739/1.511, allocations: 2.448 MB / 1.004 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.513, allocations: 0.548 MB / 1.005 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.513, allocations: 50.47 kB / 1.005 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.514, allocations: 411.8 kB / 1.005 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/1.517, allocations: 1.662 MB / 1.007 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004175/1.521, allocations: 2.891 MB / 1.01 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/1.524, allocations: 2.113 MB / 1.012 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/1.524, allocations: 8 kB / 1.012 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01294/1.537, allocations: 6.027 MB / 1.018 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001296/1.539, allocations: 1.098 MB / 1.019 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/1.539, allocations: 39.98 kB / 1.019 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06059/1.599, allocations: 11.87 MB / 1.03 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/1.603, allocations: 0.6675 MB / 1.031 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/1.612, allocations: 5.036 MB / 1.036 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008162/1.62, allocations: 351.6 kB / 1.036 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.621, allocations: 159.9 kB / 1.037 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.621, allocations: 4 kB / 1.037 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/1.633, allocations: 5.371 MB / 1.042 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-05/1.633, allocations: 36.3 kB / 1.042 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0607/1.693, allocations: 11.68 MB / 1.053 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/1.697, allocations: 0.6516 MB / 1.054 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.71, allocations: 8.064 MB / 1.062 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007032/1.717, allocations: 331.9 kB / 1.062 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007938/1.718, allocations: 155.9 kB / 1.062 GB, free: 1.066 MB / 0.7794 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005082/1.723, allocations: 1.548 MB / 1.064 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.725, allocations: 462.3 kB / 1.064 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009836/1.735, allocations: 4.879 MB / 1.069 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.735, allocations: 19.94 kB / 1.069 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.735, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01789/1.753, allocations: 7.004 MB / 1.076 GB, free: 2.996 MB / 0.795 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.03548/1.788, allocations: 13.21 MB / 1.089 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/1.788, allocations: 4 kB / 1.089 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/1.791, allocations: 378.1 kB / 1.089 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05943/1.85, allocations: 11.9 MB / 1.101 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/1.851, allocations: 44.62 kB / 1.101 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007686/1.859, allocations: 4.37 MB / 1.105 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.859, allocations: 0 / 1.105 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02841/1.887, allocations: 9.743 MB / 1.114 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005466/1.893, allocations: 1.069 MB / 1.116 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002792/1.896, allocations: 28 kB / 1.116 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005417/1.901, allocations: 279.9 kB / 1.116 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.902, allocations: 114 kB / 1.116 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003651/1.902, allocations: 79.92 kB / 1.116 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00748/1.909, allocations: 3.31 MB / 1.119 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.984e-06/1.909, allocations: 0 / 1.119 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01591/1.925, allocations: 2.712 MB / 1.122 GB, free: 3.715 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002763/1.928, allocations: 0.5313 MB / 1.122 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.947, allocations: 7.575 MB / 1.13 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/1.947, allocations: 5.328 kB / 1.13 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006316/1.954, allocations: 2.526 MB / 1.132 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/1.972, allocations: 2.769 MB / 1.135 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.998, allocations: 11.54 MB / 1.146 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/2.001, allocations: 3.193 MB / 1.149 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/2.004, allocations: 375.5 kB / 1.15 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of SimCode: time 1.442e-06/2.004, allocations: 0 / 1.15 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of Templates: time 0.8654/2.869, allocations: 163.3 MB / 1.309 GB, free: 380.1 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++ 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 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