Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, 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.001499/0.001499, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.974/1.974, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.804/1.804, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005516/0.0005517, allocations: 20.64 kB / 0.6743 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3092, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.0192/0.3285, allocations: 19.12 MB / 0.8066 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00914/0.3377, allocations: 4.999 MB / 0.8115 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.339, allocations: 19.81 kB / 0.8115 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3402, allocations: 258.4 kB / 0.8117 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3434, allocations: 0.7438 MB / 0.8125 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.347, allocations: 0.7592 MB / 0.8132 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003759/0.3507, allocations: 1.93 MB / 0.8151 GB, free: 48 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.3517, allocations: 403.2 kB / 0.8155 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.3535, allocations: 0.5874 MB / 0.816 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.3543, allocations: 466 kB / 0.8165 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.3544, allocations: 20 kB / 0.8165 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3569, allocations: 0.9512 MB / 0.8174 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.357, allocations: 115.5 kB / 0.8176 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.3573, allocations: 149.4 kB / 0.8177 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3585, allocations: 0.8224 MB / 0.8185 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3585, allocations: 0 / 0.8185 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3585, allocations: 0 / 0.8185 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3585, allocations: 0 / 0.8185 GB, free: 12.53 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001672/0.3602, allocations: 0.9285 MB / 0.8194 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3602, allocations: 12.03 kB / 0.8194 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.361, allocations: 191.1 kB / 0.8196 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.3621, allocations: 0.5338 MB / 0.8201 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.3624, allocations: 100.9 kB / 0.8202 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.3625, allocations: 43.91 kB / 0.8203 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.3635, allocations: 0.5038 MB / 0.8207 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3635, allocations: 0 / 0.8207 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.3636, allocations: 16 kB / 0.8208 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3636, allocations: 8 kB / 0.8208 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.3645, allocations: 430.6 kB / 0.8212 GB, free: 9.648 MB / 0.6387 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.002938/0.3675, allocations: 2.305 MB / 0.8234 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.3684, allocations: 391 kB / 0.8238 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.3689, allocations: 244.8 kB / 0.824 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.3692, allocations: 344.6 kB / 0.8244 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.3698, allocations: 302.2 kB / 0.8247 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.3698, allocations: 0 / 0.8247 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002132/0.372, allocations: 0.8843 MB / 0.8255 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3721, allocations: 85.11 kB / 0.8256 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.3726, allocations: 494.9 kB / 0.8261 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.3727, allocations: 29.7 kB / 0.8261 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.3729, allocations: 280.4 kB / 0.8264 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.373, allocations: 114.5 kB / 0.8265 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.3731, allocations: 4 kB / 0.8265 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3732, allocations: 358.8 kB / 0.8268 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.3737, allocations: 187.6 kB / 0.827 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.3741, allocations: 270 kB / 0.8273 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3746, allocations: 222.2 kB / 0.8275 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3746, allocations: 3.938 kB / 0.8275 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001502/0.3761, allocations: 0.6288 MB / 0.8281 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3763, allocations: 171.9 kB / 0.8283 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3763, allocations: 0 / 0.8283 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003505/0.3766, allocations: 72.88 kB / 0.8283 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.377, allocations: 87.88 kB / 0.8284 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005245/0.3775, allocations: 0.5953 MB / 0.829 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.3781, allocations: 79.61 kB / 0.8291 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.3781, allocations: 19.98 kB / 0.8291 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.403e-06/0.3782, allocations: 4 kB / 0.8291 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/0.3794, allocations: 0.5528 MB / 0.8296 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3794, allocations: 0 / 0.8296 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.3796, allocations: 56.78 kB / 0.8297 GB, free: 432 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.3799, allocations: 83.94 kB / 0.8298 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.3817, allocations: 1.623 MB / 0.8313 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.3822, allocations: 87.66 kB / 0.8314 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.3822, allocations: 12 kB / 0.8314 GB, free: 14.47 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004453/0.3827, allocations: 306.7 kB / 0.8317 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.3828, allocations: 59.34 kB / 0.8318 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3842, allocations: 0.661 MB / 0.8324 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3842, allocations: 11.95 kB / 0.8324 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3842, allocations: 0 / 0.8324 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/0.3855, allocations: 0.8093 MB / 0.8332 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.3877, allocations: 1.313 MB / 0.8345 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.3877, allocations: 4.094 kB / 0.8345 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3881, allocations: 67.94 kB / 0.8346 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.3882, allocations: 48.75 kB / 0.8346 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.3883, allocations: 19.98 kB / 0.8347 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.3887, allocations: 0.5718 MB / 0.8352 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3887, allocations: 3.984 kB / 0.8352 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3904, allocations: 0.9989 MB / 0.8362 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.3907, allocations: 192.2 kB / 0.8364 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.3907, allocations: 12.06 kB / 0.8364 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.3912, allocations: 63.89 kB / 0.8364 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.3913, allocations: 27.91 kB / 0.8365 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.3914, allocations: 19.98 kB / 0.8365 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003927/0.3918, allocations: 342.8 kB / 0.8368 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3918, allocations: 3.938 kB / 0.8368 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001127/0.3929, allocations: 343.5 kB / 0.8372 GB, free: 8.352 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000672/0.3936, allocations: 296.1 kB / 0.8374 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.3955, allocations: 0.9988 MB / 0.8384 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3956, allocations: 0 / 0.8384 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.3961, allocations: 331.4 kB / 0.8387 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.3974, allocations: 248.8 kB / 0.839 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.3996, allocations: 1.368 MB / 0.8403 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4001, allocations: 0.8784 MB / 0.8412 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.4002, allocations: 59.34 kB / 0.8412 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.4002, allocations: 0 / 0.8412 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of Templates: time 0.01658/0.4168, allocations: 11.37 MB / 0.8523 GB, free: 8.758 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquationCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquationCalcHelperMain.o] Error 1