Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_9_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.001184/0.001183, allocations: 100.5 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.001393/0.001393, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.574/1.574, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.5 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9075/0.908, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08312/0.9911, allocations: 74.18 MB / 1.027 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02859/1.02, allocations: 18.03 MB / 1.044 GB, free: 3.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/1.024, allocations: 87.44 kB / 1.045 GB, free: 3.648 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/1.028, allocations: 0.7763 MB / 1.045 GB, free: 2.867 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008292/1.036, allocations: 2.296 MB / 1.048 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006287/1.042, allocations: 1.804 MB / 1.049 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02221/1.064, allocations: 17.5 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008781/1.073, allocations: 5.265 MB / 1.072 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/1.085, allocations: 4.607 MB / 1.076 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/1.095, allocations: 4.587 MB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002823/1.098, allocations: 264 kB / 1.081 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008536/1.106, allocations: 1.217 MB / 1.082 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003522/1.11, allocations: 1.222 MB / 1.083 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003802/1.114, allocations: 1.108 MB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.124, allocations: 6.819 MB / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.124, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.385e-06/1.124, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003345/1.125, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.01481/1.139, allocations: 5.423 MB / 1.096 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/1.139, allocations: 8.031 kB / 1.096 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006335/1.146, allocations: 0.9299 MB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/1.163, allocations: 5.16 MB / 1.102 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/1.164, allocations: 263.1 kB / 1.102 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/1.166, allocations: 339.9 kB / 1.103 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/1.182, allocations: 5.749 MB / 1.108 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/1.183, allocations: 7.938 kB / 1.108 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/1.184, allocations: 148 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/1.184, allocations: 118 kB / 1.109 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/1.199, allocations: 5.671 MB / 1.114 GB, free: 11.79 MB / 0.8731 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.04159/1.24, allocations: 24.08 MB / 1.138 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/1.245, allocations: 2.847 MB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/1.249, allocations: 1.96 MB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/1.263, allocations: 7.191 MB / 1.149 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003576/1.267, allocations: 1.976 MB / 1.151 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004773/1.271, allocations: 1.243 MB / 1.152 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=156): time 1.112e-05/1.271, allocations: 4 kB / 1.152 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of matching and sorting (n=156): time 0.02106/1.293, allocations: 7.718 MB / 1.16 GB, free: 11.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/1.293, allocations: 68.72 kB / 1.16 GB, free: 11.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.303, allocations: 4.886 MB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006317/1.304, allocations: 69.7 kB / 1.165 GB, free: 6.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.306, allocations: 2.471 MB / 1.167 GB, free: 3.703 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.308, allocations: 0.5586 MB / 1.168 GB, free: 3.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/1.308, allocations: 52 kB / 1.168 GB, free: 3.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002827/1.308, allocations: 415.3 kB / 1.168 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.312, allocations: 1.676 MB / 1.17 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/1.316, allocations: 2.886 MB / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/1.32, allocations: 2.107 MB / 1.175 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.894e-05/1.32, allocations: 11.94 kB / 1.175 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0127/1.333, allocations: 6.052 MB / 1.181 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/1.334, allocations: 1.104 MB / 1.182 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-05/1.334, allocations: 36 kB / 1.182 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06082/1.395, allocations: 11.88 MB / 1.193 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/1.398, allocations: 0.6863 MB / 1.194 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/1.408, allocations: 5.046 MB / 1.199 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/1.413, allocations: 367.7 kB / 1.199 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.414, allocations: 167.8 kB / 1.2 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.414, allocations: 4 kB / 1.2 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/1.425, allocations: 5.396 MB / 1.205 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-05/1.426, allocations: 32 kB / 1.205 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06069/1.486, allocations: 11.69 MB / 1.216 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/1.49, allocations: 0.6707 MB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.503, allocations: 8.074 MB / 1.225 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006217/1.509, allocations: 337.8 kB / 1.225 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000982/1.51, allocations: 163.9 kB / 1.225 GB, free: 6.801 MB / 0.9825 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 (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.005008/1.515, allocations: 1.562 MB / 1.227 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00226/1.517, allocations: 462.3 kB / 1.227 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.529, allocations: 4.953 MB / 1.232 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/1.529, allocations: 16 kB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.529, allocations: 4 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01947/1.549, allocations: 7.138 MB / 1.239 GB, free: 8.371 MB / 0.9981 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.03781/1.587, allocations: 13.33 MB / 1.252 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.587, allocations: 0 / 1.252 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.589, allocations: 391.4 kB / 1.253 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8306/2.42, allocations: 11.91 MB / 1.264 GB, free: 283.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00089/2.421, allocations: 46.5 kB / 1.264 GB, free: 283.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008436/2.429, allocations: 4.363 MB / 1.268 GB, free: 281.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/2.43, allocations: 3.562 kB / 1.268 GB, free: 281.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/2.457, allocations: 9.843 MB / 1.278 GB, free: 278.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/2.461, allocations: 1.088 MB / 1.279 GB, free: 278.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/2.463, allocations: 28.03 kB / 1.279 GB, free: 278.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003786/2.466, allocations: 292.2 kB / 1.279 GB, free: 278.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/2.467, allocations: 106.8 kB / 1.28 GB, free: 278.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/2.467, allocations: 84.78 kB / 1.28 GB, free: 278.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006806/2.474, allocations: 3.343 MB / 1.283 GB, free: 277.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.51e-07/2.474, allocations: 1.031 kB / 1.283 GB, free: 277.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01292/2.487, allocations: 2.68 MB / 1.285 GB, free: 277 MB / 1.014 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.s[1],val.filter.s[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 (128): * Single equations (assignments): 119 * 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.001795/2.489, allocations: 0.4884 MB / 1.286 GB, free: 276.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01746/2.506, allocations: 7.574 MB / 1.293 GB, free: 273.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.506, allocations: 3.375 kB / 1.293 GB, free: 273.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005942/2.512, allocations: 2.55 MB / 1.296 GB, free: 271.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01622/2.528, allocations: 2.765 MB / 1.299 GB, free: 270.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/2.552, allocations: 11.62 MB / 1.31 GB, free: 263.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/2.555, allocations: 3.209 MB / 1.313 GB, free: 259.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/2.557, allocations: 383.2 kB / 1.313 GB, free: 259.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.663e-06/2.557, allocations: 0 / 1.313 GB, free: 259.5 MB / 1.014 GB Notification: Performance of Templates: time 0.186/2.743, allocations: 163.5 MB / 1.473 GB, free: 96.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile make -j1 -f Buildings_9_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o] Error 1