Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008047, allocations: 99.27 kB / 16.02 MB, free: 76 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.001042/0.001042, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.337/1.337, allocations: 223.2 MB / 240.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 266.4 kB / 292.3 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9729/0.9729, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004394, allocations: 16.03 kB / 0.5993 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.185, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5813/0.7663, allocations: 189 MB / 0.8703 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009064/0.7754, allocations: 5.134 MB / 0.8753 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.777, allocations: 41.41 kB / 0.8754 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.7789, allocations: 0.718 MB / 0.8761 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006665/0.7856, allocations: 2.45 MB / 0.8785 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.7887, allocations: 1.002 MB / 0.8795 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004331/0.7931, allocations: 3.531 MB / 0.8829 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.7945, allocations: 0.8071 MB / 0.8837 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.7967, allocations: 0.9861 MB / 0.8846 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.7982, allocations: 0.9756 MB / 0.8856 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.7983, allocations: 44 kB / 0.8856 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.802, allocations: 2.065 MB / 0.8877 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.8025, allocations: 406.6 kB / 0.888 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007398/0.8033, allocations: 0.6348 MB / 0.8887 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.8054, allocations: 1.497 MB / 0.8901 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8054, allocations: 4 kB / 0.8901 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8054, allocations: 0 / 0.8901 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.8055, allocations: 3.938 kB / 0.8901 GB, free: 14.66 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004714/0.8102, allocations: 1.678 MB / 0.8918 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8102, allocations: 12.03 kB / 0.8918 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004442/0.8147, allocations: 0.7473 MB / 0.8925 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.8162, allocations: 0.8903 MB / 0.8934 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.8163, allocations: 65.98 kB / 0.8934 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.8165, allocations: 88 kB / 0.8935 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.8197, allocations: 1.477 MB / 0.895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.8197, allocations: 11.92 kB / 0.895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.8199, allocations: 35.98 kB / 0.895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/0.8199, allocations: 49.98 kB / 0.8951 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.824, allocations: 1.573 MB / 0.8966 GB, free: 7.859 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.006685/0.8307, allocations: 5.058 MB / 0.9015 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.8341, allocations: 1.237 MB / 0.9028 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.8359, allocations: 0.6768 MB / 0.9034 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/0.8372, allocations: 0.9605 MB / 0.9044 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/0.8391, allocations: 0.7342 MB / 0.9051 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.8391, allocations: 4 kB / 0.9051 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006166/0.8453, allocations: 1.991 MB / 0.907 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.8454, allocations: 64.06 kB / 0.9071 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.8469, allocations: 1.271 MB / 0.9083 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.847, allocations: 45.7 kB / 0.9084 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.8475, allocations: 0.5716 MB / 0.9089 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.8477, allocations: 276.1 kB / 0.9092 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.8479, allocations: 81.67 kB / 0.9093 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.848, allocations: 349.9 kB / 0.9096 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.8497, allocations: 0.5523 MB / 0.9101 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.8515, allocations: 0.8286 MB / 0.9109 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.8549, allocations: 1.367 MB / 0.9123 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.8549, allocations: 4 kB / 0.9123 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003949/0.8589, allocations: 1.538 MB / 0.9138 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8589, allocations: 8.094 kB / 0.9138 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8589, allocations: 11.94 kB / 0.9138 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.859, allocations: 12 kB / 0.9138 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.8604, allocations: 308 kB / 0.9141 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.8604, allocations: 11.94 kB / 0.9141 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8619, allocations: 226.7 kB / 0.9143 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.862, allocations: 51.97 kB / 0.9144 GB, free: 4.918 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005947/0.8626, allocations: 336.3 kB / 0.9147 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.8629, allocations: 142.3 kB / 0.9148 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/0.867, allocations: 1.472 MB / 0.9163 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.867, allocations: 8 kB / 0.9163 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.867, allocations: 0 / 0.9163 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.8671, allocations: 3.984 kB / 0.9163 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006351/0.8734, allocations: 2.889 MB / 0.9191 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.8734, allocations: 4 kB / 0.9191 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8747, allocations: 227.9 kB / 0.9193 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.8747, allocations: 8 kB / 0.9193 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.8748, allocations: 35.95 kB / 0.9194 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.8748, allocations: 4 kB / 0.9194 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8749, allocations: 11.94 kB / 0.9194 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005708/0.8806, allocations: 2.342 MB / 0.9217 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/0.8812, allocations: 315.1 kB / 0.922 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.8815, allocations: 23.98 kB / 0.922 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.8827, allocations: 127.9 kB / 0.9221 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.8829, allocations: 68.3 kB / 0.9222 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/0.883, allocations: 39.97 kB / 0.9222 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00127/0.8842, allocations: 0.8723 MB / 0.9231 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8842, allocations: 0 / 0.9231 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001208/0.8855, allocations: 323.6 kB / 0.9234 GB, free: 11.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.001314/0.8868, allocations: 0.5365 MB / 0.9239 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003769/0.8906, allocations: 1.324 MB / 0.9252 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.8906, allocations: 4 kB / 0.9252 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.8924, allocations: 0.6716 MB / 0.9259 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/0.8961, allocations: 0.6071 MB / 0.9265 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.9018, allocations: 3.114 MB / 0.9295 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.9027, allocations: 1.175 MB / 0.9306 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.9033, allocations: 127.4 kB / 0.9308 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of SimCode: time 1.163e-06/0.9033, allocations: 0 / 0.9308 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of Templates: time 0.03497/0.9383, allocations: 20.68 MB / 0.951 GB, free: 15.5 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnlyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.o] Error 1