Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, 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.001501/0.001501, allocations: 179.2 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.796/1.796, allocations: 205.4 MB / 223.1 MB, free: 5.543 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.761/1.761, allocations: 292.7 MB / 0.5509 GB, free: 14.43 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.000609/0.0006091, allocations: 22.94 kB / 0.675 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3284, allocations: 116.3 MB / 0.7885 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03275/0.3612, allocations: 28.48 MB / 0.8163 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.373, allocations: 6.696 MB / 0.8229 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.3748, allocations: 47.62 kB / 0.8229 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.3765, allocations: 0.591 MB / 0.8235 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.3814, allocations: 1.332 MB / 0.8248 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.385, allocations: 1.05 MB / 0.8258 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005027/0.39, allocations: 3.198 MB / 0.8289 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.3916, allocations: 0.7132 MB / 0.8296 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002491/0.3941, allocations: 0.9256 MB / 0.8305 GB, free: 372 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.3955, allocations: 0.8246 MB / 0.8314 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.3956, allocations: 36 kB / 0.8314 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3978, allocations: 0.7599 MB / 0.8321 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.3982, allocations: 251 kB / 0.8324 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.3989, allocations: 0.5375 MB / 0.8329 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.4006, allocations: 1.134 MB / 0.834 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4006, allocations: 0 / 0.834 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4006, allocations: 0 / 0.834 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.4006, allocations: 0 / 0.834 GB, free: 12.81 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002656/0.4033, allocations: 1.372 MB / 0.8353 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4033, allocations: 12.03 kB / 0.8354 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.4069, allocations: 0.6392 MB / 0.836 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.4083, allocations: 0.8136 MB / 0.8368 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.4084, allocations: 58.38 kB / 0.8368 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.4085, allocations: 79.94 kB / 0.8369 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.4111, allocations: 1.107 MB / 0.838 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4111, allocations: 4 kB / 0.838 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.538e-05/0.4112, allocations: 32 kB / 0.838 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.4112, allocations: 16 kB / 0.838 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.4144, allocations: 1.035 MB / 0.839 GB, free: 7.453 MB / 0.6544 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.006649/0.421, allocations: 4.967 MB / 0.8439 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.4242, allocations: 0.9581 MB / 0.8448 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4257, allocations: 0.4974 MB / 0.8453 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.4274, allocations: 1.607 MB / 0.8469 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.4291, allocations: 0.5846 MB / 0.8475 GB, free: 14.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 3.487e-06/0.4292, allocations: 0 / 0.8475 GB, free: 14.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.005062/0.4342, allocations: 1.52 MB / 0.8489 GB, free: 12.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.4343, allocations: 59.95 kB / 0.849 GB, free: 12.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.4359, allocations: 1.125 MB / 0.8501 GB, free: 11.45 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.436, allocations: 41.64 kB / 0.8501 GB, free: 11.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.4366, allocations: 0.5552 MB / 0.8507 GB, free: 10.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.4368, allocations: 209.1 kB / 0.8509 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4369, allocations: 61.69 kB / 0.8509 GB, free: 10.56 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4371, allocations: 341.9 kB / 0.8513 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.4386, allocations: 465.6 kB / 0.8517 GB, free: 9.766 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.4404, allocations: 0.7475 MB / 0.8524 GB, free: 8.891 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/0.4436, allocations: 1.144 MB / 0.8536 GB, free: 7.637 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4436, allocations: 4 kB / 0.8536 GB, free: 7.633 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003867/0.4475, allocations: 1.293 MB / 0.8548 GB, free: 6.332 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4475, allocations: 8 kB / 0.8548 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4475, allocations: 8 kB / 0.8548 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.4476, allocations: 12.81 kB / 0.8548 GB, free: 6.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4488, allocations: 279.6 kB / 0.8551 GB, free: 6.031 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/0.4489, allocations: 19.92 kB / 0.8551 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4503, allocations: 203 kB / 0.8553 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.4505, allocations: 47.97 kB / 0.8554 GB, free: 5.766 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005791/0.451, allocations: 295.7 kB / 0.8557 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.4512, allocations: 130.4 kB / 0.8558 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003922/0.4552, allocations: 1.383 MB / 0.8571 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.4552, allocations: 8 kB / 0.8571 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4552, allocations: 0 / 0.8571 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4552, allocations: 3.984 kB / 0.8571 GB, free: 3.934 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005357/0.4606, allocations: 2.405 MB / 0.8595 GB, free: 1.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.4606, allocations: 7.938 kB / 0.8595 GB, free: 1.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.4617, allocations: 195.9 kB / 0.8597 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.4617, allocations: 4 kB / 0.8597 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.4618, allocations: 23.97 kB / 0.8597 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.4618, allocations: 11.94 kB / 0.8597 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4618, allocations: 8 kB / 0.8597 GB, free: 1.211 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/0.4672, allocations: 2.004 MB / 0.8617 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/0.468, allocations: 283.4 kB / 0.862 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.4682, allocations: 23.98 kB / 0.862 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.4692, allocations: 131.8 kB / 0.8621 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4694, allocations: 64.36 kB / 0.8622 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.348e-05/0.4695, allocations: 31.97 kB / 0.8622 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001156/0.4706, allocations: 0.7681 MB / 0.8629 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4706, allocations: 0 / 0.8629 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001443/0.4721, allocations: 343.6 kB / 0.8633 GB, free: 13.52 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.4739, allocations: 0.6498 MB / 0.8639 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.4776, allocations: 1.13 MB / 0.865 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4777, allocations: 192 / 0.865 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.4794, allocations: 0.5891 MB / 0.8656 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.4821, allocations: 454.4 kB / 0.866 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.4879, allocations: 2.871 MB / 0.8688 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.4887, allocations: 1.104 MB / 0.8699 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.4892, allocations: 119.4 kB / 0.87 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of SimCode: time 1.533e-06/0.4892, allocations: 3.938 kB / 0.87 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of Templates: time 0.03473/0.5239, allocations: 19.1 MB / 0.8887 GB, free: 3.75 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1