Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001199/0.001199, allocations: 102.1 kB / 15.71 MB, free: 460 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.001908/0.001908, allocations: 174.4 kB / 16.58 MB, free: 6.398 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.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.753/2.753, allocations: 390.4 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004075, allocations: 16 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9768/0.9772, allocations: 142.3 MB / 0.9544 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02915/1.006, allocations: 26.92 MB / 0.9807 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01322/1.02, allocations: 6.476 MB / 0.987 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/1.022, allocations: 44.81 kB / 0.9871 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/1.024, allocations: 0.5564 MB / 0.9876 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005606/1.03, allocations: 1.185 MB / 0.9888 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/1.034, allocations: 0.941 MB / 0.9897 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005866/1.04, allocations: 2.767 MB / 0.9924 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/1.042, allocations: 0.6427 MB / 0.993 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/1.044, allocations: 0.8828 MB / 0.9939 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/1.045, allocations: 0.7625 MB / 0.9946 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/1.045, allocations: 36 kB / 0.9947 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/1.047, allocations: 498.9 kB / 0.9951 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/1.047, allocations: 235 kB / 0.9954 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/1.048, allocations: 233 kB / 0.9956 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/1.049, allocations: 1.031 MB / 0.9966 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.049, allocations: 0 / 0.9966 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.784e-06/1.049, allocations: 0 / 0.9966 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.417e-05/1.049, allocations: 0 / 0.9966 GB, free: 4.824 MB / 0.7481 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.002492/1.052, allocations: 1.38 MB / 0.9979 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.052, allocations: 11.97 kB / 0.9979 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.055, allocations: 0.6344 MB / 0.9986 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.057, allocations: 0.7662 MB / 0.9993 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/1.057, allocations: 58 kB / 0.9994 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.057, allocations: 68 kB / 0.9994 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/1.059, allocations: 1.103 MB / 1.001 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/1.059, allocations: 8 kB / 1.001 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/1.059, allocations: 28 kB / 1.001 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/1.059, allocations: 20 kB / 1.001 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/1.062, allocations: 1.02 MB / 1.002 GB, free: 15.54 MB / 0.7637 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.005699/1.068, allocations: 4.959 MB / 1.006 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/1.071, allocations: 0.958 MB / 1.007 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/1.072, allocations: 494.2 kB / 1.008 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/1.073, allocations: 1.608 MB / 1.009 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/1.075, allocations: 0.5807 MB / 1.01 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=61): time 3.808e-06/1.075, allocations: 4 kB / 1.01 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of matching and sorting (n=61): time 0.004319/1.079, allocations: 1.52 MB / 1.011 GB, free: 4.758 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.079, allocations: 59.97 kB / 1.011 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.081, allocations: 1.104 MB / 1.013 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.373e-05/1.081, allocations: 45.7 kB / 1.013 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/1.081, allocations: 0.5433 MB / 1.013 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/1.082, allocations: 209.1 kB / 1.013 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/1.082, allocations: 16 kB / 1.013 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.082, allocations: 341.9 kB / 1.014 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.083, allocations: 453.6 kB / 1.014 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/1.085, allocations: 0.7281 MB / 1.015 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.086, allocations: 497.8 kB / 1.015 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.086, allocations: 4 kB / 1.015 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003264/1.089, allocations: 1.282 MB / 1.017 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.089, allocations: 12.89 kB / 1.017 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.089, allocations: 8 kB / 1.017 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/1.089, allocations: 20 kB / 1.017 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.091, allocations: 279.5 kB / 1.017 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/1.091, allocations: 15.98 kB / 1.017 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.092, allocations: 202.9 kB / 1.017 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/1.092, allocations: 47.97 kB / 1.017 GB, free: 14.77 MB / 0.7794 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.0005441/1.093, allocations: 303.7 kB / 1.017 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/1.093, allocations: 118.5 kB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/1.096, allocations: 1.382 MB / 1.019 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-05/1.096, allocations: 12.08 kB / 1.019 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.096, allocations: 3.938 kB / 1.019 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.096, allocations: 3.984 kB / 1.019 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004686/1.101, allocations: 2.393 MB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/1.101, allocations: 4 kB / 1.021 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/1.102, allocations: 191.9 kB / 1.021 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/1.102, allocations: 8 kB / 1.021 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/1.102, allocations: 27.97 kB / 1.021 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/1.102, allocations: 4 kB / 1.021 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.102, allocations: 0 / 1.021 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/1.107, allocations: 2.001 MB / 1.023 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/1.107, allocations: 291.2 kB / 1.024 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.107, allocations: 20 kB / 1.024 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/1.108, allocations: 127.9 kB / 1.024 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.108, allocations: 56.45 kB / 1.024 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/1.108, allocations: 31.97 kB / 1.024 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000943/1.109, allocations: 0.756 MB / 1.025 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/1.109, allocations: 0 / 1.025 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001071/1.11, allocations: 335.6 kB / 1.025 GB, free: 6.566 MB / 0.7794 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.001449/1.112, allocations: 0.6468 MB / 1.026 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003041/1.115, allocations: 1.134 MB / 1.027 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.115, allocations: 0 / 1.027 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.116, allocations: 0.5853 MB / 1.027 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.118, allocations: 428.7 kB / 1.028 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/1.123, allocations: 2.748 MB / 1.03 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/1.124, allocations: 1.1 MB / 1.031 GB, free: 16 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/1.124, allocations: 115.4 kB / 1.032 GB, free: 15.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.342e-06/1.124, allocations: 0 / 1.032 GB, free: 15.9 MB / 0.795 GB Notification: Performance of Templates: time 0.02857/1.153, allocations: 18.86 MB / 1.05 GB, free: 13.21 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1