Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 100.1 kB / 15.88 MB, free: 12 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.00183/0.00183, allocations: 198 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.895/2.895, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00393/0.00393, allocations: 280.4 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.995/1.995, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003234/0.003234, allocations: 91.92 kB / 0.5951 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3761, allocations: 86.99 MB / 0.6801 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 1.292/1.668, allocations: 191.5 MB / 0.8671 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01158/1.68, allocations: 5.181 MB / 0.8722 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/1.684, allocations: 44.91 kB / 0.8722 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/1.688, allocations: 0.7113 MB / 0.8729 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/1.702, allocations: 2.447 MB / 0.8753 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005679/1.708, allocations: 1.005 MB / 0.8763 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008476/1.716, allocations: 3.545 MB / 0.8798 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/1.72, allocations: 0.8171 MB / 0.8806 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004694/1.724, allocations: 1.006 MB / 0.8815 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/1.728, allocations: 0.993 MB / 0.8825 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004039/1.729, allocations: 50.53 kB / 0.8826 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008984/1.738, allocations: 2.062 MB / 0.8846 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/1.739, allocations: 421.9 kB / 0.885 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007195/1.747, allocations: 0.6158 MB / 0.8856 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006518/1.753, allocations: 1.507 MB / 0.8871 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.772e-05/1.753, allocations: 0 / 0.8871 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.565e-06/1.753, allocations: 0 / 0.8871 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.41e-05/1.753, allocations: 4 kB / 0.8871 GB, free: 2.059 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.0152/1.769, allocations: 1.934 MB / 0.8889 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.172e-05/1.769, allocations: 7.844 kB / 0.889 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/1.776, allocations: 0.6598 MB / 0.8896 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/1.78, allocations: 0.8749 MB / 0.8905 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/1.78, allocations: 71.36 kB / 0.8905 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/1.781, allocations: 89.83 kB / 0.8906 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006723/1.788, allocations: 1.473 MB / 0.892 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/1.788, allocations: 2.125 kB / 0.892 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.788, allocations: 31.41 kB / 0.8921 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/1.788, allocations: 50.45 kB / 0.8921 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008149/1.796, allocations: 1.523 MB / 0.8936 GB, free: 13.2 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.01449/1.811, allocations: 5.487 MB / 0.899 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/1.818, allocations: 1.276 MB / 0.9002 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/1.821, allocations: 0.6591 MB / 0.9009 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.823, allocations: 0.5812 MB / 0.9014 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003601/1.826, allocations: 0.7159 MB / 0.9021 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 5.761e-06/1.826, allocations: 0 / 0.9021 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.01022/1.837, allocations: 1.874 MB / 0.904 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/1.837, allocations: 64.05 kB / 0.904 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/1.84, allocations: 1.242 MB / 0.9052 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000285/1.84, allocations: 41.7 kB / 0.9053 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/1.841, allocations: 0.5753 MB / 0.9058 GB, free: 240 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/1.842, allocations: 272.4 kB / 0.9061 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005972/1.842, allocations: 190.4 kB / 0.9063 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003093/1.843, allocations: 345.9 kB / 0.9066 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.845, allocations: 0.5367 MB / 0.9071 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.848, allocations: 0.8174 MB / 0.9079 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/1.854, allocations: 1.321 MB / 0.9092 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.854, allocations: 4 kB / 0.9092 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.008053/1.862, allocations: 1.495 MB / 0.9107 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/1.862, allocations: 16.09 kB / 0.9107 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/1.862, allocations: 8 kB / 0.9107 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.596e-05/1.862, allocations: 12 kB / 0.9107 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.865, allocations: 295.5 kB / 0.911 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/1.865, allocations: 19.88 kB / 0.911 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.868, allocations: 216.2 kB / 0.9112 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/1.869, allocations: 52.06 kB / 0.9113 GB, free: 10.43 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.001561/1.87, allocations: 335.7 kB / 0.9116 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000812/1.871, allocations: 142.2 kB / 0.9117 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006994/1.878, allocations: 1.413 MB / 0.9131 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/1.878, allocations: 8 kB / 0.9131 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.878, allocations: 0.875 kB / 0.9131 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.878, allocations: 3.984 kB / 0.9131 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.889, allocations: 2.803 MB / 0.9159 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.889, allocations: 4 kB / 0.9159 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.891, allocations: 219.7 kB / 0.9161 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.153e-05/1.891, allocations: 11.94 kB / 0.9161 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/1.892, allocations: 31.98 kB / 0.9161 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.892, allocations: 7.984 kB / 0.9161 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-05/1.892, allocations: 11.94 kB / 0.9161 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006848/1.898, allocations: 2.244 MB / 0.9183 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.9, allocations: 291.2 kB / 0.9186 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/1.9, allocations: 23.98 kB / 0.9186 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.902, allocations: 131.8 kB / 0.9187 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.902, allocations: 68.3 kB / 0.9188 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.902, allocations: 35.97 kB / 0.9188 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002006/1.904, allocations: 0.8522 MB / 0.9197 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/1.904, allocations: 0 / 0.9197 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002248/1.907, allocations: 319.6 kB / 0.92 GB, free: 1.289 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.002044/1.909, allocations: 0.5327 MB / 0.9205 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004788/1.913, allocations: 1.283 MB / 0.9218 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.913, allocations: 0 / 0.9218 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.916, allocations: 0.6365 MB / 0.9224 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.919, allocations: 0.5588 MB / 0.9229 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/1.926, allocations: 3.049 MB / 0.9259 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.927, allocations: 1.171 MB / 0.927 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/1.928, allocations: 119.4 kB / 0.9272 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of SimCode: time 1.794e-06/1.928, allocations: 3.938 kB / 0.9272 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of Templates: time 0.0528/1.981, allocations: 20.36 MB / 0.947 GB, free: 5.816 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o] Error 1