Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.16 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.001387/0.001387, allocations: 182 kB / 16.92 MB, free: 6.922 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 271 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.5 MB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 19.8 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1889, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5913/0.7802, allocations: 189 MB / 0.8703 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008043/0.7883, allocations: 5.129 MB / 0.8753 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.7898, allocations: 41.47 kB / 0.8754 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.7921, allocations: 0.7181 MB / 0.8761 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00881/0.8009, allocations: 2.446 MB / 0.8785 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.805, allocations: 1.005 MB / 0.8795 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.8106, allocations: 3.609 MB / 0.883 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.8125, allocations: 0.8502 MB / 0.8838 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.8152, allocations: 1.001 MB / 0.8848 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.8171, allocations: 1 MB / 0.8858 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.8173, allocations: 48 kB / 0.8858 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005338/0.8227, allocations: 2.069 MB / 0.8878 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006497/0.8233, allocations: 418.6 kB / 0.8882 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.8244, allocations: 0.6387 MB / 0.8889 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.8274, allocations: 1.532 MB / 0.8903 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8274, allocations: 3.938 kB / 0.8904 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8274, allocations: 0 / 0.8904 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.8274, allocations: 0 / 0.8904 GB, free: 14.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007122/0.8345, allocations: 1.697 MB / 0.892 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.8346, allocations: 11.97 kB / 0.892 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/0.8427, allocations: 0.9346 MB / 0.8929 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.8446, allocations: 0.9059 MB / 0.8938 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.8446, allocations: 70 kB / 0.8939 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.8448, allocations: 88 kB / 0.894 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.8501, allocations: 1.583 MB / 0.8955 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.8501, allocations: 7.938 kB / 0.8955 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.8503, allocations: 36 kB / 0.8956 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/0.8504, allocations: 41.98 kB / 0.8956 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008035/0.8584, allocations: 1.846 MB / 0.8974 GB, free: 7.066 MB / 0.6075 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.008578/0.867, allocations: 4.754 MB / 0.902 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/0.8714, allocations: 1.588 MB / 0.9036 GB, free: 500 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.8736, allocations: 0.8562 MB / 0.9044 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.875, allocations: 0.9491 MB / 0.9054 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002544/0.8776, allocations: 0.9144 MB / 0.9062 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 4.388e-06/0.8776, allocations: 0 / 0.9062 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007778/0.8854, allocations: 2.454 MB / 0.9086 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.8855, allocations: 60.41 kB / 0.9087 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.8871, allocations: 1.193 MB / 0.9099 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.8872, allocations: 45.7 kB / 0.9099 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.8877, allocations: 0.5409 MB / 0.9104 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.888, allocations: 323.3 kB / 0.9107 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.8881, allocations: 85.67 kB / 0.9108 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8883, allocations: 345.9 kB / 0.9112 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.8905, allocations: 0.6928 MB / 0.9118 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.8928, allocations: 0.9113 MB / 0.9127 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.8972, allocations: 1.55 MB / 0.9142 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.8972, allocations: 7.938 kB / 0.9142 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004956/0.9022, allocations: 1.768 MB / 0.916 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9022, allocations: 8.438 kB / 0.916 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9022, allocations: 8 kB / 0.916 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.9023, allocations: 8 kB / 0.916 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.904, allocations: 339.5 kB / 0.9163 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.9041, allocations: 15.98 kB / 0.9163 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.9057, allocations: 262.6 kB / 0.9166 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/0.9058, allocations: 47.98 kB / 0.9166 GB, free: 2.742 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005376/0.9063, allocations: 333 kB / 0.9169 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.9065, allocations: 130.4 kB / 0.9171 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/0.9116, allocations: 1.803 MB / 0.9188 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9116, allocations: 8.094 kB / 0.9188 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9116, allocations: 7.922 kB / 0.9188 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.9116, allocations: 3.984 kB / 0.9189 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/0.9186, allocations: 3.336 MB / 0.9221 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.9186, allocations: 4 kB / 0.9221 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.9203, allocations: 292 kB / 0.9224 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.9203, allocations: 8 kB / 0.9224 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.9204, allocations: 31.97 kB / 0.9224 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.9204, allocations: 12 kB / 0.9224 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.9204, allocations: 4 kB / 0.9224 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.9276, allocations: 2.835 MB / 0.9252 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.9281, allocations: 331.1 kB / 0.9255 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.9283, allocations: 27.98 kB / 0.9256 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.9297, allocations: 179.7 kB / 0.9257 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.9299, allocations: 68.45 kB / 0.9258 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.93, allocations: 39.97 kB / 0.9258 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001002/0.931, allocations: 0.8353 MB / 0.9266 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.931, allocations: 0 / 0.9266 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001103/0.9321, allocations: 339.6 kB / 0.927 GB, free: 7.934 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001465/0.9336, allocations: 0.5371 MB / 0.9275 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004795/0.9384, allocations: 1.619 MB / 0.9291 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9384, allocations: 0 / 0.9291 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.9407, allocations: 0.8322 MB / 0.9299 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.944, allocations: 0.5967 MB / 0.9305 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.9504, allocations: 3.578 MB / 0.934 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.9512, allocations: 1.179 MB / 0.9351 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.9518, allocations: 131.4 kB / 0.9352 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.9518, allocations: 0 / 0.9352 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.03096/0.9828, allocations: 21.37 MB / 0.9561 GB, free: 10.29 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o] Error 1