Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 100.1 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.0009279/0.0009281, allocations: 177.4 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.477/1.477, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.577/2.577, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.973/0.9735, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2363/1.21, allocations: 176.6 MB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.221, allocations: 6.572 MB / 1.133 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/1.223, allocations: 39.69 kB / 1.133 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/1.225, allocations: 468.8 kB / 1.134 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005384/1.23, allocations: 1.683 MB / 1.135 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/1.234, allocations: 1.079 MB / 1.136 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005619/1.239, allocations: 3.222 MB / 1.14 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.241, allocations: 0.674 MB / 1.14 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/1.243, allocations: 0.9453 MB / 1.141 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.245, allocations: 0.7431 MB / 1.142 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/1.245, allocations: 40 kB / 1.142 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/1.249, allocations: 1.216 MB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004377/1.249, allocations: 298.9 kB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/1.249, allocations: 237.1 kB / 1.144 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/1.252, allocations: 1.625 MB / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.252, allocations: 0 / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.344e-06/1.252, allocations: 0 / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.169e-05/1.252, allocations: 0 / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003301/1.255, allocations: 1.399 MB / 1.147 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.255, allocations: 12.03 kB / 1.147 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/1.258, allocations: 0.5996 MB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.26, allocations: 0.9564 MB / 1.148 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/1.261, allocations: 313 kB / 1.148 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.262, allocations: 71.94 kB / 1.149 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/1.264, allocations: 1.144 MB / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.264, allocations: 0 / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/1.264, allocations: 43.86 kB / 1.15 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/1.264, allocations: 33.31 kB / 1.15 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/1.267, allocations: 1.246 MB / 1.151 GB, free: 6.266 MB / 0.9044 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.005902/1.273, allocations: 3.237 MB / 1.154 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/1.275, allocations: 0.7011 MB / 1.155 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/1.276, allocations: 439.5 kB / 1.155 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/1.277, allocations: 1.021 MB / 1.156 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009732/1.278, allocations: 0.5221 MB / 1.157 GB, free: 16 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=57): time 2.504e-06/1.278, allocations: 0 / 1.157 GB, free: 16 kB / 0.9044 GB Notification: Performance of matching and sorting (n=57): time 0.00315/1.281, allocations: 1.24 MB / 1.158 GB, free: 14.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.281, allocations: 144.9 kB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.283, allocations: 1.211 MB / 1.159 GB, free: 13.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/1.283, allocations: 37.64 kB / 1.159 GB, free: 13.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/1.284, allocations: 437.4 kB / 1.16 GB, free: 12.89 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/1.284, allocations: 189.3 kB / 1.16 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/1.284, allocations: 8 kB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.284, allocations: 337.9 kB / 1.16 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.285, allocations: 484.9 kB / 1.161 GB, free: 11.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.287, allocations: 0.6483 MB / 1.161 GB, free: 11.19 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/1.288, allocations: 0.5307 MB / 1.162 GB, free: 10.65 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.288, allocations: 0 / 1.162 GB, free: 10.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002964/1.291, allocations: 1.279 MB / 1.163 GB, free: 9.359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/1.291, allocations: 41.69 kB / 1.163 GB, free: 9.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.291, allocations: 7.938 kB / 1.163 GB, free: 9.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.291, allocations: 8.281 kB / 1.163 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/1.292, allocations: 207.8 kB / 1.163 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.292, allocations: 11.92 kB / 1.163 GB, free: 9.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.293, allocations: 298.9 kB / 1.164 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/1.293, allocations: 35.97 kB / 1.164 GB, free: 8.754 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005597/1.294, allocations: 331.3 kB / 1.164 GB, free: 8.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.294, allocations: 114.6 kB / 1.164 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/1.296, allocations: 1.008 MB / 1.165 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/1.296, allocations: 11.98 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.296, allocations: 0.5156 kB / 1.165 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.296, allocations: 4 kB / 1.165 GB, free: 7.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/1.301, allocations: 3.173 MB / 1.168 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.301, allocations: 12.53 kB / 1.168 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/1.301, allocations: 131.8 kB / 1.168 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/1.302, allocations: 11.95 kB / 1.168 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/1.302, allocations: 23.98 kB / 1.168 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/1.302, allocations: 15.94 kB / 1.168 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.302, allocations: 12 kB / 1.168 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.304, allocations: 1.344 MB / 1.17 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/1.304, allocations: 331.3 kB / 1.17 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/1.304, allocations: 27.94 kB / 1.17 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.306, allocations: 131.9 kB / 1.17 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/1.306, allocations: 55.78 kB / 1.17 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/1.306, allocations: 43.97 kB / 1.17 GB, free: 1.676 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001523/1.307, allocations: 0.8794 MB / 1.171 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.21e-07/1.307, allocations: 0 / 1.171 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001071/1.308, allocations: 291.9 kB / 1.171 GB, free: 0.5039 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007017/1.309, allocations: 336.8 kB / 1.172 GB, free: 184 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002318/1.311, allocations: 1.053 MB / 1.173 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.311, allocations: 3.938 kB / 1.173 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008767/1.312, allocations: 0.5184 MB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.315, allocations: 0.5401 MB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/1.319, allocations: 2.343 MB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/1.319, allocations: 1.065 MB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.32, allocations: 87.41 kB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of SimCode: time 1.763e-06/1.32, allocations: 0 / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.03064/1.35, allocations: 18.59 MB / 1.195 GB, free: 7.93 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1