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.0009252/0.0009251, allocations: 90.44 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.001146/0.001146, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 266.2 kB / 292.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9369/0.9369, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 14.92 kB / 0.5993 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1842, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5566/0.7408, allocations: 189 MB / 0.8703 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.7502, allocations: 5.14 MB / 0.8753 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.7518, allocations: 41.41 kB / 0.8754 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.7541, allocations: 0.7181 MB / 0.8761 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007034/0.7611, allocations: 2.443 MB / 0.8785 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.764, allocations: 1.003 MB / 0.8795 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004708/0.7687, allocations: 3.538 MB / 0.8829 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.7705, allocations: 0.8139 MB / 0.8837 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.773, allocations: 0.9864 MB / 0.8847 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.775, allocations: 0.9589 MB / 0.8856 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.7754, allocations: 48 kB / 0.8857 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.7798, allocations: 2.061 MB / 0.8877 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007223/0.7806, allocations: 410.5 kB / 0.8881 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.7817, allocations: 0.6278 MB / 0.8887 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.7843, allocations: 1.485 MB / 0.8901 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7844, allocations: 0 / 0.8901 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7844, allocations: 0 / 0.8901 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.168e-05/0.7844, allocations: 0 / 0.8901 GB, free: 14.64 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.005279/0.7897, allocations: 1.691 MB / 0.8918 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.7898, allocations: 8.031 kB / 0.8918 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.7939, allocations: 0.7045 MB / 0.8925 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.7957, allocations: 0.8709 MB / 0.8933 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.7958, allocations: 69.98 kB / 0.8934 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.7961, allocations: 91.92 kB / 0.8935 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.7997, allocations: 1.485 MB / 0.8949 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.7997, allocations: 4 kB / 0.8949 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.7998, allocations: 35.98 kB / 0.895 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.618e-05/0.7999, allocations: 53.97 kB / 0.895 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.8043, allocations: 1.542 MB / 0.8965 GB, free: 7.895 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.00817/0.8125, allocations: 5.507 MB / 0.9019 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.8164, allocations: 1.324 MB / 0.9032 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.8182, allocations: 0.6631 MB / 0.9038 GB, free: 112 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009195/0.8191, allocations: 0.5929 MB / 0.9044 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001927/0.8211, allocations: 0.7263 MB / 0.9051 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 3.416e-06/0.8211, allocations: 0 / 0.9051 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005795/0.8269, allocations: 1.909 MB / 0.907 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.827, allocations: 60.06 kB / 0.907 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.8287, allocations: 1.242 MB / 0.9083 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.8289, allocations: 45.7 kB / 0.9083 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.8294, allocations: 0.5792 MB / 0.9089 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.8296, allocations: 276.1 kB / 0.9091 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.8298, allocations: 81.67 kB / 0.9092 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8299, allocations: 341.9 kB / 0.9095 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.8316, allocations: 0.5445 MB / 0.9101 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.8335, allocations: 0.8369 MB / 0.9109 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003398/0.8369, allocations: 1.34 MB / 0.9122 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.8369, allocations: 4 kB / 0.9122 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004186/0.8411, allocations: 1.511 MB / 0.9137 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.8411, allocations: 19.91 kB / 0.9137 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.8412, allocations: 8 kB / 0.9137 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-05/0.8412, allocations: 12 kB / 0.9137 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.8427, allocations: 303.5 kB / 0.914 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/0.8428, allocations: 19.92 kB / 0.914 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.8445, allocations: 226.7 kB / 0.9142 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.8446, allocations: 51.97 kB / 0.9143 GB, free: 5.008 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.0006617/0.8453, allocations: 331.7 kB / 0.9146 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.8456, allocations: 138.2 kB / 0.9147 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.8498, allocations: 1.44 MB / 0.9161 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8498, allocations: 8 kB / 0.9161 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.8498, allocations: 4 kB / 0.9161 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.8498, allocations: 3.984 kB / 0.9162 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006402/0.8563, allocations: 2.826 MB / 0.9189 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.8563, allocations: 8.094 kB / 0.9189 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/0.8576, allocations: 223.7 kB / 0.9191 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.8576, allocations: 11.94 kB / 0.9191 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.8577, allocations: 27.98 kB / 0.9192 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.8577, allocations: 11.98 kB / 0.9192 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.8577, allocations: 7.938 kB / 0.9192 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005702/0.8634, allocations: 2.275 MB / 0.9214 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.8641, allocations: 311.1 kB / 0.9217 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.8644, allocations: 24 kB / 0.9217 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.8657, allocations: 139.8 kB / 0.9219 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.8659, allocations: 64.36 kB / 0.9219 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.866, allocations: 35.97 kB / 0.922 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001252/0.8673, allocations: 0.8522 MB / 0.9228 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8673, allocations: 0 / 0.9228 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001221/0.8685, allocations: 319.6 kB / 0.9231 GB, free: 11.77 MB / 0.6387 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.00141/0.8699, allocations: 0.5298 MB / 0.9236 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.8737, allocations: 1.306 MB / 0.9249 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.8737, allocations: 4 kB / 0.9249 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.8755, allocations: 0.656 MB / 0.9255 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/0.8792, allocations: 0.5689 MB / 0.9261 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.8852, allocations: 3.127 MB / 0.9291 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/0.8861, allocations: 1.166 MB / 0.9303 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.8867, allocations: 123.4 kB / 0.9304 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of SimCode: time 8.12e-07/0.8867, allocations: 0 / 0.9304 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of Templates: time 0.03062/0.9173, allocations: 20.15 MB / 0.9501 GB, free: 376 kB / 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