Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_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.0009549/0.000955, allocations: 100.7 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.001522/0.001523, allocations: 176.6 kB / 16.58 MB, free: 6.418 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.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.8997, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02774/0.9275, allocations: 26.93 MB / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.9381, allocations: 6.473 MB / 1.054 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.9395, allocations: 43.62 kB / 1.054 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.941, allocations: 0.5597 MB / 1.055 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.9444, allocations: 1.188 MB / 1.056 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.947, allocations: 0.937 MB / 1.057 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003814/0.9509, allocations: 2.761 MB / 1.06 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.952, allocations: 0.6467 MB / 1.06 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.954, allocations: 0.8907 MB / 1.061 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.955, allocations: 0.7546 MB / 1.062 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.9551, allocations: 36 kB / 1.062 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.9566, allocations: 0.4911 MB / 1.062 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.9569, allocations: 239 kB / 1.063 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.9572, allocations: 229.1 kB / 1.063 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.9583, allocations: 1.027 MB / 1.064 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9583, allocations: 3.938 kB / 1.064 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9583, allocations: 0 / 1.064 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.9584, allocations: 0 / 1.064 GB, free: 5.789 MB / 0.8106 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.002549/0.9609, allocations: 1.368 MB / 1.065 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.961, allocations: 15.97 kB / 1.065 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.964, allocations: 0.6305 MB / 1.066 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.9654, allocations: 0.7623 MB / 1.067 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.9655, allocations: 58 kB / 1.067 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.9656, allocations: 75.95 kB / 1.067 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.9678, allocations: 1.103 MB / 1.068 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.9679, allocations: 7.938 kB / 1.068 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.9679, allocations: 31.94 kB / 1.068 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.968, allocations: 20 kB / 1.068 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.9708, allocations: 1.016 MB / 1.069 GB, free: 0.5117 MB / 0.8106 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.005914/0.9768, allocations: 4.97 MB / 1.074 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.9796, allocations: 0.9475 MB / 1.075 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.9809, allocations: 0.4967 MB / 1.075 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.9825, allocations: 1.6 MB / 1.077 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.9843, allocations: 0.5846 MB / 1.077 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/0.9843, allocations: 4 kB / 1.077 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.004298/0.9886, allocations: 1.512 MB / 1.079 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.9887, allocations: 59.95 kB / 1.079 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.9901, allocations: 1.108 MB / 1.08 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.9902, allocations: 41.7 kB / 1.08 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.9906, allocations: 0.5434 MB / 1.08 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.9908, allocations: 213 kB / 1.081 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.9909, allocations: 16 kB / 1.081 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.9911, allocations: 345.9 kB / 1.081 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.9924, allocations: 453.6 kB / 1.081 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.9939, allocations: 0.7281 MB / 1.082 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.9953, allocations: 0.4901 MB / 1.083 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9953, allocations: 0 / 1.083 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003416/0.9987, allocations: 1.285 MB / 1.084 GB, free: 304 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.9988, allocations: 8.938 kB / 1.084 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.9988, allocations: 4 kB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.9988, allocations: 16 kB / 1.084 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1, allocations: 275.6 kB / 1.084 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.486e-05/1, allocations: 15.98 kB / 1.084 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.002, allocations: 214.8 kB / 1.084 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.002, allocations: 43.98 kB / 1.084 GB, free: 15.73 MB / 0.8419 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005671/1.002, allocations: 299.7 kB / 1.085 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.002, allocations: 118.5 kB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/1.006, allocations: 1.382 MB / 1.086 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.006, allocations: 12 kB / 1.086 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.006, allocations: 0 / 1.086 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.006, allocations: 3.984 kB / 1.086 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/1.01, allocations: 2.393 MB / 1.089 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.011, allocations: 4 kB / 1.089 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/1.011, allocations: 199.9 kB / 1.089 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/1.011, allocations: 7.984 kB / 1.089 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.012, allocations: 23.97 kB / 1.089 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.012, allocations: 8 kB / 1.089 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.012, allocations: 7.938 kB / 1.089 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/1.016, allocations: 1.985 MB / 1.091 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/1.017, allocations: 291.2 kB / 1.091 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/1.017, allocations: 23.94 kB / 1.091 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/1.018, allocations: 123.9 kB / 1.091 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.018, allocations: 60.42 kB / 1.091 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/1.018, allocations: 31.97 kB / 1.091 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001149/1.019, allocations: 0.7521 MB / 1.092 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/1.019, allocations: 0 / 1.092 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001343/1.021, allocations: 343.6 kB / 1.092 GB, free: 7.543 MB / 0.8419 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 (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.001709/1.022, allocations: 0.6408 MB / 1.093 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00329/1.026, allocations: 1.126 MB / 1.094 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.026, allocations: 4.062 kB / 1.094 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/1.027, allocations: 0.5851 MB / 1.095 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/1.029, allocations: 433.3 kB / 1.095 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004986/1.034, allocations: 2.748 MB / 1.098 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/1.035, allocations: 1.1 MB / 1.099 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/1.035, allocations: 119.3 kB / 1.099 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of SimCode: time 8.62e-07/1.035, allocations: 0 / 1.099 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of Templates: time 0.03387/1.069, allocations: 18.84 MB / 1.117 GB, free: 14.18 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1